List available numbers
{
"items": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"number": "+1234567890",
"active": true,
"label": "My Phone Number",
"inbound_agent_name": "Agent Name",
"outbound_only": false,
"example_context": {},
"telephony_provider": "twilio",
"telephony_account_connection": {},
"description": "Business line for customer service",
"inbound_agent": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "My Agent",
"prompt": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"label": "My Prompt",
"description": "This is a description",
"content": "You are a helpful assistant...",
"context_endpoint": "https://api.example.com/context",
"collect_fields": [
"<string>"
],
"type": "prompt",
"tags": [
"tag1",
"tag2"
],
"prompt_template": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"required_context_keys": [
"tag1",
"tag2"
],
"label": "My Prompt"
}
},
"language": "en",
"actions": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "action_transfer_call",
"label": "Transfer Call",
"description": "This is a description",
"config": {},
"action_trigger": {}
}
],
"voice": {},
"initial_message": "Hello, how can I help you today?",
"webhook": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"subscriptions": [
"event_message",
"event_action"
],
"url": "https://example.com/webhook",
"method": "POST",
"label": "My Webhook",
"description": "This is a description"
},
"interrupt_sensitivity": "low",
"context_endpoint": "https://api.example.com/context",
"noise_suppression": true,
"endpointing_sensitivity": "auto",
"ivr_navigation_mode": "default",
"conversation_speed": 0.5,
"initial_message_delay": 1000,
"openai_model_name_override": "gpt-4",
"ask_if_human_present_on_idle": true,
"openai_account_connection": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"label": "My Account Connection",
"description": "This is a description",
"type": "account_connection_twilio",
"credentials": {
"twilio_account_sid": "AC1234567890",
"twilio_auth_token": "1234567890"
},
"steering_pool": [
"+1234567890"
],
"account_supports_any_caller_id": false
},
"run_do_not_call_detection": true,
"llm_fallback": {},
"deepgram_keywords": {
"kansas": "10"
},
"idle_time_seconds": 10,
"llm_temperature": 0.5,
"enable_recording": true,
"provider": "openai",
"model": "gpt-4",
"label": "My Agent",
"description": "This is a description",
"transcriber": {},
"call_duration_sec": 10,
"max_idle_check_count": 10
}
}
],
"total": 10
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Response
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
"+1234567890"
true
"My Phone Number"
"Agent Name"
false
"twilio"
"Business line for customer service"
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
"My Prompt"
"This is a description"
"You are a helpful assistant..."
"https://api.example.com/context"
prompt
, block
"prompt"
["tag1", "tag2"]
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
["tag1", "tag2"]
"My Prompt"
"My Agent"
en
, es
, de
, hi
, pt
, fr
, nl
, id
, it
, ja
, ko
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
action_transfer_call
, action_end_conversation
, action_dtmf
"action_transfer_call"
"Transfer Call"
"This is a description"
"Hello, how can I help you today?"
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
["event_message", "event_action"]
"https://example.com/webhook"
GET
, POST
"POST"
"My Webhook"
"This is a description"
low
, high
"https://api.example.com/context"
true
auto
, relaxed
, sensitive
default
, off
0.5
1000
"gpt-4"
true
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
account_connection_twilio
, account_connection_openai
, account_connection_google
, account_connection_azure_llm
, account_connection_elevenlabs
, account_connection_deepgram
, account_connection_cartesia
, account_connection_playht
, account_connection_rime
, account_connection_azure_speech
, account_connection_assemblyai
, account_connection_deepseek
, account_connection_telnyx
, account_connection_un_pw_oauth
, account_connection_login_key_oauth
, account_connection_external_api_key
"account_connection_twilio"
{
"twilio_account_sid": "AC1234567890",
"twilio_auth_token": "1234567890"
}
"My Account Connection"
"This is a description"
["+1234567890"]
false
true
{ "kansas": "10" }
10
0.5
true
"openai"
"gpt-4"
"My Agent"
"This is a description"
10
10
10
{
"items": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"number": "+1234567890",
"active": true,
"label": "My Phone Number",
"inbound_agent_name": "Agent Name",
"outbound_only": false,
"example_context": {},
"telephony_provider": "twilio",
"telephony_account_connection": {},
"description": "Business line for customer service",
"inbound_agent": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "My Agent",
"prompt": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"label": "My Prompt",
"description": "This is a description",
"content": "You are a helpful assistant...",
"context_endpoint": "https://api.example.com/context",
"collect_fields": [
"<string>"
],
"type": "prompt",
"tags": [
"tag1",
"tag2"
],
"prompt_template": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"required_context_keys": [
"tag1",
"tag2"
],
"label": "My Prompt"
}
},
"language": "en",
"actions": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"type": "action_transfer_call",
"label": "Transfer Call",
"description": "This is a description",
"config": {},
"action_trigger": {}
}
],
"voice": {},
"initial_message": "Hello, how can I help you today?",
"webhook": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"subscriptions": [
"event_message",
"event_action"
],
"url": "https://example.com/webhook",
"method": "POST",
"label": "My Webhook",
"description": "This is a description"
},
"interrupt_sensitivity": "low",
"context_endpoint": "https://api.example.com/context",
"noise_suppression": true,
"endpointing_sensitivity": "auto",
"ivr_navigation_mode": "default",
"conversation_speed": 0.5,
"initial_message_delay": 1000,
"openai_model_name_override": "gpt-4",
"ask_if_human_present_on_idle": true,
"openai_account_connection": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "550e8400-e29b-41d4-a716-446655440000",
"label": "My Account Connection",
"description": "This is a description",
"type": "account_connection_twilio",
"credentials": {
"twilio_account_sid": "AC1234567890",
"twilio_auth_token": "1234567890"
},
"steering_pool": [
"+1234567890"
],
"account_supports_any_caller_id": false
},
"run_do_not_call_detection": true,
"llm_fallback": {},
"deepgram_keywords": {
"kansas": "10"
},
"idle_time_seconds": 10,
"llm_temperature": 0.5,
"enable_recording": true,
"provider": "openai",
"model": "gpt-4",
"label": "My Agent",
"description": "This is a description",
"transcriber": {},
"call_duration_sec": 10,
"max_idle_check_count": 10
}
}
],
"total": 10
}