Initiate AI Web Call
Call
Initiate AI Web Call
POST
Initiate AI Web Call
Body
application/json
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://api.voice-agents.miraiminds.co/v2/call/web \
--header 'Content-Type: application/json' \
--header 'workspace: <workspace>' \
--header 'x-private-key: <api-key>' \
--header 'x-public-key: <api-key>' \
--data '
{
"assistant": "<string>"
}
'import requests
url = "https://api.voice-agents.miraiminds.co/v2/call/web"
payload = { "assistant": "<string>" }
headers = {
"x-public-key": "<api-key>",
"x-private-key": "<api-key>",
"workspace": "<workspace>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const url = 'https://api.voice-agents.miraiminds.co/v2/call/web';
const options = {
method: 'POST',
headers: {
'x-public-key': '<api-key>',
'x-private-key': '<api-key>',
workspace: '<workspace>',
'Content-Type': 'application/json'
},
body: JSON.stringify({assistant: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"token": "<string>",
"error": {}
}curl --request POST \
--url https://api.voice-agents.miraiminds.co/v2/call/web \
--header 'Content-Type: application/json' \
--header 'workspace: <workspace>' \
--header 'x-private-key: <api-key>' \
--header 'x-public-key: <api-key>' \
--data '
{
"assistant": "<string>"
}
'import requests
url = "https://api.voice-agents.miraiminds.co/v2/call/web"
payload = { "assistant": "<string>" }
headers = {
"x-public-key": "<api-key>",
"x-private-key": "<api-key>",
"workspace": "<workspace>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const url = 'https://api.voice-agents.miraiminds.co/v2/call/web';
const options = {
method: 'POST',
headers: {
'x-public-key': '<api-key>',
'x-private-key': '<api-key>',
workspace: '<workspace>',
'Content-Type': 'application/json'
},
body: JSON.stringify({assistant: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"success": true,
"token": "<string>",
"error": {}
}