cURL
curl --request PUT \ --url https://api.trillet.ai/v1/api/twilio/phone-numbers/{phoneNumberId}/config \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data ' { "agentId": "<string>", "maxCallDuration": 123, "recordingEnabled": true, "officeHours": { "enabled": true, "timezone": "<string>", "schedule": {} }, "transferCallerIdMode": "<string>", "metadataTags": [ {} ], "label": "<string>" } '
{ "success": true }
Update the call flow configuration for a phone number, including agent assignment, recording, and office hours.
Show properties