Skip to main content
🤖 LLM Friendly: This page is available in raw Markdown format for LLM consumption:phone-numbers.md|Get full documentation:llms.txt/llms-full.txt

Phone Numbers

View phone numbers available to the teams you belong to. These endpoints are read-only — phone number management (create, update, delete) is only available via the admin Workspace API.

:::info Data Scoping Agents can only see phone numbers where:

  • shared_teams_id contains at least one of the agent's teams, or
  • shared_teams_id is empty (available to all agents)

Only phone numbers with active status are returned. :::

Endpoints

MethodEndpointDescription
GET/call-center/phone-numbersList phone numbers (scoped)
GET/call-center/phone-numbers/:idGet phone number details

Authentication

All endpoints require Bearer JWT with agent-api audience.


List Phone Numbers

GET /call-center/phone-numbers

Retrieve a paginated list of phone numbers available to your teams.

Query Parameters

ParameterTypeDefaultDescription
pagenumber1Page number (min: 1)
limitnumber20Items per page (max: 100)
sort_orderstringdescSort order: asc or desc

Request

curl -X GET "https://{workspace_id}.firetell.app/api/v1/call-center/phone-numbers?page=1&limit=10" \
-H "Authorization: Bearer YOUR_AGENT_JWT"

Response 200 OK

{
"data": [
{
"id": "pn_a1b2c3d4e5f6g7h8i9j0k1",
"number": "84901234567",
"country_code": "VN",
"dial_code": "84",
"status": "active",
"capabilities": ["voice"],
"enable_outbound": true,
"shared_teams_id": ["tm_x1y2z3w4v5u6t7s8"],
"created_at": "2026-01-10T10:00:00.000Z"
},
{
"id": "pn_n3w1d2e3f4g5h6i7j8k9l0",
"number": "84281234567",
"country_code": "VN",
"dial_code": "84",
"status": "active",
"capabilities": ["voice"],
"enable_outbound": false,
"shared_teams_id": [],
"created_at": "2026-03-15T08:00:00.000Z"
}
],
"meta": {
"total": 3,
"page": 1,
"limit": 10,
"total_pages": 1
}
}

Phone Number Object

FieldTypeDescription
idstringPhone number ID (prefixed pn_)
numberstringFull phone number (without +)
country_codestringISO 3166-1 alpha-2 country code (e.g., "VN")
dial_codestringCountry calling code (e.g., "84")
statusstringAlways active for call center endpoints
capabilitiesstring[]Supported features (e.g., ["voice"])
enable_outboundbooleanWhether outbound calls are enabled
shared_teams_idstring[]Teams that have access to this number
created_atstringISO 8601 creation timestamp

Get Phone Number Details

GET /call-center/phone-numbers/:id

Retrieve details of a specific phone number you have access to.

Path Parameters

ParameterTypeDescription
idstringPhone number ID (e.g., pn_a1b2...)

Request

curl -X GET "https://{workspace_id}.firetell.app/api/v1/call-center/phone-numbers/pn_a1b2c3d4e5f6g7h8i9j0k1" \
-H "Authorization: Bearer YOUR_AGENT_JWT"

Response 200 OK

Returns the phone number object.

Error Responses

StatusDescription
404Phone number not found or you do not have access
tip

Use the enable_outbound field to determine which phone numbers can be used as the caller ID when making outbound calls. Numbers with enable_outbound: false can only receive inbound calls.