Number
Number
{
"id": "<string>",
"number": "<string>",
"type": "<string>",
"call_flow_id": "<string>",
"message_flow_id": "<string>",
"name": "<string>",
"detail": "<string>",
"status": "<string>",
"t38_enabled": <boolean>,
"emergency_enabled": <boolean>,
"tm_create": "<string>",
"tm_update": "<string>",
"tm_delete": "<string>"
}
id(UUID): The number’s unique identifier. Returned when creating a number viaPOST /numbersor listing viaGET /numbers.number(String, E.164): The phone number in E.164 format (e.g.,+15551234567). Must start with+. Virtual numbers use the+899prefix (e.g.,+899100000001).type(enum string): The number’s type. See Type.call_flow_id(UUID): The flow to execute for inbound calls. Obtained from theidfield ofGET /flows. Set to00000000-0000-0000-0000-000000000000if no flow is assigned.message_flow_id(UUID): The flow to execute for inbound messages. Obtained from theidfield ofGET /flows. Set to00000000-0000-0000-0000-000000000000if no flow is assigned.name(String): A human-readable label for the number. Free-form text for organizational use.detail(String): A longer description of the number’s purpose or configuration notes.status(enum string): The number’s current status. See Status.t38_enabled(Boolean): Whether T.38 fax support is enabled on this number.emergency_enabled(Boolean): Whether emergency calling (e.g., 911) is enabled on this number.tm_create(string, ISO 8601): Timestamp when the number was created.tm_update(string, ISO 8601): Timestamp of the last update to any number property.tm_delete(string, ISO 8601): Timestamp when the number was deleted. Set to9999-01-01 00:00:00.000000if not deleted.
Note
AI Implementation Hint
Timestamps set to 9999-01-01 00:00:00.000000 indicate the event has not yet occurred. For example, tm_delete with this value means the number has not been deleted.
Example
{
"id": "0b266038-844b-11ec-97d8-63ba531361ce",
"number": "+821100000001",
"type": "normal",
"call_flow_id": "d157ce07-0360-4cad-9007-c8ab89fccf9c",
"message_flow_id": "00000000-0000-0000-0000-000000000000",
"name": "test talk",
"detail": "simple number for talk flow",
"status": "active",
"t38_enabled": false,
"emergency_enabled": false,
"tm_create": "2022-02-01 00:00:00.000000",
"tm_update": "2022-03-20 19:37:53.135685",
"tm_delete": "9999-01-01 00:00:00.000000"
}
Type
All possible values for the type field:
Type |
Description |
|---|---|
normal |
A standard phone number purchased from a provider (Telnyx or Twilio). Routed via PSTN. Supports inbound calls and messages from external callers. Incurs provider purchase and usage charges. |
virtual |
A virtual number with |
Status
All possible values for the status field:
Status |
Description |
|---|---|
active |
The number is provisioned and ready to receive inbound calls and messages. Flows assigned to this number will execute when triggered. |
purchase-pending |
The number purchase has been submitted to the provider but not yet confirmed. This is a transient state for normal numbers only. Poll |
suspended |
The number is temporarily disabled. Inbound calls and messages will not be handled. Can be reactivated. |
deleted |
The number has been released and is no longer active. Returned after calling |