agents
Update an agent
Changed onPartial update — only fields sent in the body are changed. If instructions change they're re-validated and rejected if invalid. If toolIds is sent, ALL existing tool links are replaced. SMS-capable setting changes reconcile Messaging Service registration for assigned US Twilio numbers.
patch/agents/{id}
Request
- Base URLhttps://be.skipcalls.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
idstring required
Request body
Response
The agent has been successfully updated.
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