curl --request PATCH \
--url https://api.open.cx/phone/{phone_agent_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "inbound",
"voice_id": "<string>",
"language": "<string>",
"first_message": "<string>",
"instructions": [
"<string>"
],
"handoff_phone_number": "<string>",
"use_org_knowledgebase": true,
"actionIds": [
"<string>"
]
}
'{
"id": "<string>",
"org_id": "<string>",
"phone_number": "<string>",
"name": "<string>",
"type": "inbound",
"language": "<string>",
"accent": "<string>",
"handoff_phone_number": "<string>",
"speed": 123,
"interruptible": true,
"actionIds": [
"<string>"
],
"instructions": [
"<string>"
],
"data_collection_fields": [
"<string>"
],
"data_collection_webhook_url": "<string>",
"model": "oppie-vox",
"voice_id": "<string>",
"first_message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"provider_external_id": "<string>",
"flow": null,
"manual_mode": true,
"custom_llm": "<string>",
"use_org_knowledgebase": true
}curl --request PATCH \
--url https://api.open.cx/phone/{phone_agent_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "inbound",
"voice_id": "<string>",
"language": "<string>",
"first_message": "<string>",
"instructions": [
"<string>"
],
"handoff_phone_number": "<string>",
"use_org_knowledgebase": true,
"actionIds": [
"<string>"
]
}
'{
"id": "<string>",
"org_id": "<string>",
"phone_number": "<string>",
"name": "<string>",
"type": "inbound",
"language": "<string>",
"accent": "<string>",
"handoff_phone_number": "<string>",
"speed": 123,
"interruptible": true,
"actionIds": [
"<string>"
],
"instructions": [
"<string>"
],
"data_collection_fields": [
"<string>"
],
"data_collection_webhook_url": "<string>",
"model": "oppie-vox",
"voice_id": "<string>",
"first_message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"provider_external_id": "<string>",
"flow": null,
"manual_mode": true,
"custom_llm": "<string>",
"use_org_knowledgebase": true
}Agent display name
Agent type: "inbound" (receives calls, default) or "outbound" (makes calls)
inbound, outbound Voice ID from the /phone/voices endpoint. Omit for default voice.
Primary language code (e.g. "en", "es", "fr")
What the agent says when it picks up (default: "Hello?")
Training scenario IDs to attach to this agent
Phone number to transfer to when handing off to a human (E.164 format)
Whether the agent can search your knowledge base during calls (default: false)
Action IDs the agent can call during conversations
Default Response
inbound, outbound oppie-vox, oppie-vox-turbo, oppie-vox-2, oppie-vox-livekit Was this page helpful?