Create a call
curl --request POST \
--url https://api.eu.volubile.ai/v1/calls \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recipient": {
"phone": "+33612345678",
"context": {
"firstName": "firstname",
"lastName": "lastname",
"orderNumber": "5HZ99FRT"
}
}
}'
This response does not have an example.
Authorizations
Your API key.
Body
Unique identifier of the OUTBOUND agent to use for the call
Recipient to call
Phone number to call, in the E.164 international standard format
"+33612345678"
Custom object for dynamic content injection into the agent prompt. Keys in this map correspond to placeholders in the prompt template: e.g {{ firstName }}. At runtime, each placeholder will be replaced with its corresponding value.
⚠️ All sent variables not found in configured agent prompt will be ignored.
Custom object for dynamic content injection into the agent prompt. Keys in this map correspond to placeholders in the prompt template: e.g {{ firstName }}. At runtime, each placeholder will be replaced with its corresponding value.
⚠️ All sent variables not found in configured agent prompt will be ignored.
{
"firstName": "firstname",
"lastName": "lastname",
"orderNumber": "5HZ99FRT"
}
{
"firstName": "firstname",
"lastName": "lastname",
"orderNumber": "5HZ99FRT"
}
Response
Created
curl --request POST \
--url https://api.eu.volubile.ai/v1/calls \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"recipient": {
"phone": "+33612345678",
"context": {
"firstName": "firstname",
"lastName": "lastname",
"orderNumber": "5HZ99FRT"
}
}
}'
This response does not have an example.