Trillet AI logo

List Phone Numbers

Retrieve all phone numbers associated with your workspace.

GEThttps://api.trillet.ai/v1/api/twilio/user-phone-numbers

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Response Fields

phoneNumbersarray

Array of phone number objects.

_idstring

Unique identifier for the phone number record.

phoneNumberstring

The phone number in E.164 format (e.g., +14155551234).

providerstring

The telephony provider (e.g., "twilio", "sip").

countrystring

Country code of the phone number (e.g., "US", "AU").

typestring

Type of phone number (e.g., "local", "tollFree", "mobile").

statusstring

Current status of the phone number.

workspaceIdstring

Workspace ID associated with the phone number.

labelstring

Optional label for the phone number.

{
  "phoneNumbers": [
    {
      "_id": "665a1b2c3d4e5f6a7b8c9d0e",
      "phoneNumber": "+14155551234",
      "provider": "twilio",
      "country": "US",
      "type": "local",
      "status": "active",
      "workspaceId": "664a1b2c3d4e5f6a7b8c9d0e",
      "label": "Sales Line"
    }
  ]
}
List Phone Numbers — Trillet AI