agents
Create a new agent
Changed onCreates a voice AI agent with the provided configuration. The agent won't receive calls until a phone number is assigned, but it can be tested immediately. Instructions are validated by an LLM and rejected if vague or off-topic. Subscription agent-count limits are enforced. Mobile users auto-get isVoiceMailAgent=true; avatar is auto-generated from name.
post/agents
Request
- Base URLhttps://be.skipcalls.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Request body
Response
The agent has been successfully created.
Example response
{
"tools": [
{
"tool": {
"toolType": "HTTP",
"inputSchema": {
"name": "function_params",
"type": "object",
"description": "Function input parameters",
"children": [
{
"name": "query",
"type": "string",
"description": "Search query",
"validations": {
"required": true,
"min": 1,
"max": 100
},
"label": "Search Query"
},
{
"name": "category",
"type": "enum",
"description": "Category filter",
"enumValues": [
"news",
"weather",
"sports"
],
"validations": {
"required": false
}
}
]
}
}
}
],
"phoneNumbers": [
{
"createdAt": "2021-01-01T00:00:00Z",
"updatedAt": "2021-01-01T00:00:00Z",
"phoneNumber": "+1234567890",
"country": "US",
"agentId": "123",
"direction": "INCOMING"
}
]
}Changes
- info
the
incomingCallInstructionsrequest property's maxLength was increased from11000to40000
- info
- breaking
the
emailAddressresponse's property type changed from no type toobjectfor status - info
the response property
postCallActionRules/items/idbecame required for the status
- breaking