Batch-mint Try-Me Configs and email each invitee an invitation.
curl --request POST \
--url https://api.mnemom.ai/v1/dojo/try-me-configs/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"scenarioId": "<string>",
"invites": [
{
"email": "[email protected]",
"name": "<string>",
"routes": {
"npx": true,
"mcp": true
}
}
],
"model": {
"name": "<string>"
},
"expiresAt": "2023-11-07T05:31:56Z",
"usageLimit": 1,
"logoUrl": "<string>"
}
'import requests
url = "https://api.mnemom.ai/v1/dojo/try-me-configs/batch"
payload = {
"scenarioId": "<string>",
"invites": [
{
"email": "[email protected]",
"name": "<string>",
"routes": {
"npx": True,
"mcp": True
}
}
],
"model": { "name": "<string>" },
"expiresAt": "2023-11-07T05:31:56Z",
"usageLimit": 1,
"logoUrl": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
scenarioId: '<string>',
invites: [
{email: '[email protected]', name: '<string>', routes: {npx: true, mcp: true}}
],
model: {name: '<string>'},
expiresAt: '2023-11-07T05:31:56Z',
usageLimit: 1,
logoUrl: '<string>'
})
};
fetch('https://api.mnemom.ai/v1/dojo/try-me-configs/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mnemom.ai/v1/dojo/try-me-configs/batch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'scenarioId' => '<string>',
'invites' => [
[
'email' => '[email protected]',
'name' => '<string>',
'routes' => [
'npx' => true,
'mcp' => true
]
]
],
'model' => [
'name' => '<string>'
],
'expiresAt' => '2023-11-07T05:31:56Z',
'usageLimit' => 1,
'logoUrl' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mnemom.ai/v1/dojo/try-me-configs/batch"
payload := strings.NewReader("{\n \"scenarioId\": \"<string>\",\n \"invites\": [\n {\n \"email\": \"[email protected]\",\n \"name\": \"<string>\",\n \"routes\": {\n \"npx\": true,\n \"mcp\": true\n }\n }\n ],\n \"model\": {\n \"name\": \"<string>\"\n },\n \"expiresAt\": \"2023-11-07T05:31:56Z\",\n \"usageLimit\": 1,\n \"logoUrl\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mnemom.ai/v1/dojo/try-me-configs/batch")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"scenarioId\": \"<string>\",\n \"invites\": [\n {\n \"email\": \"[email protected]\",\n \"name\": \"<string>\",\n \"routes\": {\n \"npx\": true,\n \"mcp\": true\n }\n }\n ],\n \"model\": {\n \"name\": \"<string>\"\n },\n \"expiresAt\": \"2023-11-07T05:31:56Z\",\n \"usageLimit\": 1,\n \"logoUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/dojo/try-me-configs/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"scenarioId\": \"<string>\",\n \"invites\": [\n {\n \"email\": \"[email protected]\",\n \"name\": \"<string>\",\n \"routes\": {\n \"npx\": true,\n \"mcp\": true\n }\n }\n ],\n \"model\": {\n \"name\": \"<string>\"\n },\n \"expiresAt\": \"2023-11-07T05:31:56Z\",\n \"usageLimit\": 1,\n \"logoUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"requested": 123,
"sent": 123,
"failed": 123,
"results": [
{
"email": "[email protected]",
"status": "sent",
"name": "<string>",
"config_id": "<string>",
"share_line": "<string>",
"error": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Dojo
Batch-mint Try-Me Configs and email each invitee an invitation.
Mints one single-use Try-Me Config per invite (each its OWN server-generated tryme_… token) and sends each invitee a formatted invitation email (Resend, no-r…
POST
/
dojo
/
try-me-configs
/
batch
Batch-mint Try-Me Configs and email each invitee an invitation.
curl --request POST \
--url https://api.mnemom.ai/v1/dojo/try-me-configs/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"scenarioId": "<string>",
"invites": [
{
"email": "[email protected]",
"name": "<string>",
"routes": {
"npx": true,
"mcp": true
}
}
],
"model": {
"name": "<string>"
},
"expiresAt": "2023-11-07T05:31:56Z",
"usageLimit": 1,
"logoUrl": "<string>"
}
'import requests
url = "https://api.mnemom.ai/v1/dojo/try-me-configs/batch"
payload = {
"scenarioId": "<string>",
"invites": [
{
"email": "[email protected]",
"name": "<string>",
"routes": {
"npx": True,
"mcp": True
}
}
],
"model": { "name": "<string>" },
"expiresAt": "2023-11-07T05:31:56Z",
"usageLimit": 1,
"logoUrl": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
scenarioId: '<string>',
invites: [
{email: '[email protected]', name: '<string>', routes: {npx: true, mcp: true}}
],
model: {name: '<string>'},
expiresAt: '2023-11-07T05:31:56Z',
usageLimit: 1,
logoUrl: '<string>'
})
};
fetch('https://api.mnemom.ai/v1/dojo/try-me-configs/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mnemom.ai/v1/dojo/try-me-configs/batch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'scenarioId' => '<string>',
'invites' => [
[
'email' => '[email protected]',
'name' => '<string>',
'routes' => [
'npx' => true,
'mcp' => true
]
]
],
'model' => [
'name' => '<string>'
],
'expiresAt' => '2023-11-07T05:31:56Z',
'usageLimit' => 1,
'logoUrl' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mnemom.ai/v1/dojo/try-me-configs/batch"
payload := strings.NewReader("{\n \"scenarioId\": \"<string>\",\n \"invites\": [\n {\n \"email\": \"[email protected]\",\n \"name\": \"<string>\",\n \"routes\": {\n \"npx\": true,\n \"mcp\": true\n }\n }\n ],\n \"model\": {\n \"name\": \"<string>\"\n },\n \"expiresAt\": \"2023-11-07T05:31:56Z\",\n \"usageLimit\": 1,\n \"logoUrl\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mnemom.ai/v1/dojo/try-me-configs/batch")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"scenarioId\": \"<string>\",\n \"invites\": [\n {\n \"email\": \"[email protected]\",\n \"name\": \"<string>\",\n \"routes\": {\n \"npx\": true,\n \"mcp\": true\n }\n }\n ],\n \"model\": {\n \"name\": \"<string>\"\n },\n \"expiresAt\": \"2023-11-07T05:31:56Z\",\n \"usageLimit\": 1,\n \"logoUrl\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/dojo/try-me-configs/batch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"scenarioId\": \"<string>\",\n \"invites\": [\n {\n \"email\": \"[email protected]\",\n \"name\": \"<string>\",\n \"routes\": {\n \"npx\": true,\n \"mcp\": true\n }\n }\n ],\n \"model\": {\n \"name\": \"<string>\"\n },\n \"expiresAt\": \"2023-11-07T05:31:56Z\",\n \"usageLimit\": 1,\n \"logoUrl\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"requested": 123,
"sent": 123,
"failed": 123,
"results": [
{
"email": "[email protected]",
"status": "sent",
"name": "<string>",
"config_id": "<string>",
"share_line": "<string>",
"error": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
Supabase JWT token in Authorization: Bearer header
Body
application/json
dojo_scenarios.id shared by every config minted in this batch.
One entry per person to invite (1–50).
Required array length:
1 - 50 elementsShow child attributes
Show child attributes
Frontier model; defaults to {provider:'anthropic', name:'claude'}.
Show child attributes
Show child attributes
Required range:
x >= 1MNE-1322: optional brand logo (https URL) applied to every invite in the batch; each minted agent carries it as its avatar.
Maximum string length:
2048