For the complete documentation index, see llms.txt. Any page on this site can be fetched as Markdown by appending .md to its URL.

RoutingPhone numbers

Retrieve a phone number

GET
/v1/routing/phone-numbers/{phoneNumberId}

Read one phone number by its ID.

Authorization

bearerAuth
AuthorizationBearer <token>

A Tandem bearer token. Requests are scoped to the organization the token belongs to; no organization header is required.

In: header

Path Parameters

phoneNumberId*string

The phone number's unique ID.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/routing/phone-numbers/string"
{  "id": "string",  "label": "string",  "phoneNumber": "string",  "workflowId": "string",  "target": {    "type": "workflow",    "id": "string"  },  "variables": {    "property1": "string",    "property2": "string"  },  "recordCalls": "inherit",  "smsCapability": "enabled",  "mmsCapability": "enabled",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}