cURL
curl --request PATCH \ --url https://app.relyable.ai/api/agents/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "provider": "VAPI", "type": "INBOUND", "promptType": "SINGLE", "name": "<string>", "apiKey": "<string>", "assistantId": "<string>", "language": "<string>", "phoneNumber": "<string>", "prompt": "<string>", "callMonitoring": true, "isUsingDefaultApiKey": true, "webhookUrl": "<string>", "phoneNumberId": "<string>", "webhookSecret": "<string>" } '
{ "message": "<string>", "data": { "provider": "VAPI", "type": "INBOUND", "promptType": "SINGLE", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "created_at": "<string>", "updated_at": "<string>", "apiKey": "<string>", "assistantId": "<string>", "createdByUserId": "<string>", "deletedAt": "<string>", "language": "<string>", "phoneNumber": "<string>", "prompt": "<string>", "workspaceId": "<string>", "callMonitoring": true, "isUsingDefaultApiKey": true, "webhookUrl": "<string>", "phoneNumberId": "<string>", "webhookSecret": "<string>" } }
Update an agent by its ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
VAPI
RETELL
TIXAE
ELEVENLABS
INBOUND
OUTBOUND
SINGLE
MULTIPLE
Successful response
Show child attributes