Phone Numbers
Get Phone Number
Retrieve details of a specific phone number
GET
Request
Retrieve detailed information about a specific phone number.Headers
Bearer token for authentication. Format:
Bearer YOUR_API_KEYPath Parameters
The unique identifier of the phone number (e.g.,
pn_abc123)Query Parameters
Comma-separated list of additional data:
stats, recent_callsResponse
Unique identifier for the phone number
The phone number in E.164 format
Display name for the phone number
Two-letter country code
State or region code
Object with
voice and sms boolean fieldsCurrent status:
active, pending, inactiveAgent ID for handling incoming calls
Usage statistics (when
include=stats)ISO 8601 creation timestamp
Error Codes
| Code | Description |
|---|---|
phone_number_not_found | The specified ID does not exist |
unauthorized | You don’t have access to this phone number |