calls
Start a new phone call
Start a new phone call with the specified parameters. The response includes headers about rate limiting.
POST
Authorizations
The API Key created in Rounded Studio.
- You can create it by going to the "API Keys" settings of your profile.
- Need help? You can email us at team@callrounded.com or join our Discord community.
Body
application/json
Phone number emitting the call, in E.164 format. It must be a phone number from your Rounded organization.
Minimum length:
8
Example:
"+33912345678"
Phone number receiving the call, in E.164 format.
Minimum length:
8
Example:
"+33612345678"
Id of the agent making the call. You can get the id from your agent's config page URL, e.g. https://app.callrounded.com/agents/411b82c8-462a-4e1b-89bc-10ab3ce1ed29.
Example:
"411b82c8-462a-4e1b-89bc-10ab3ce1ed29"
Values for the variables that should be initialized before call starts, provided as a JSON object.
Example:
{ "first_name": "John", "last_name": "Doe" }
Response
201
application/json
Successfully started phone call
Example:
{
"details": [
{
"field": "email",
"message": "Invalid email format"
}
],
"message": "An error occurred while processing your request",
"status": 400,
"type": "generic_error"
}