Header | Value | Required |
---|---|---|
x-api-key | Your API key | Yes |
accept | */* | No |
Field | Type | Description |
---|---|---|
phoneNumbers | Array | Array of phone number objects |
id | String | Unique identifier for the phone number |
accountId | String | Account identifier |
did | String | Direct inward dialing number |
domain | String | SIP domain for the phone number |
provider | String | Phone number provider (e.g., pliwo, telnyx) |
externalId | String | External identifier from the provider |
status | Boolean | Active status of the phone number |
createdAt | String (ISO 8601) | Creation timestamp |
updatedAt | String (ISO 8601) | Last update timestamp |
organization.id | String | Organization identifier |
organization.name | String | Organization name |
Status Code | Description |
---|---|
500 | Error fetching phone numbers |
List of phone numbers retrieved successfully.
The response is of type object
.