Get Phone Number

Retrieve a specific phone number by ID.

HTTP Request

$GET https://app.resemble.ai/api/v2/phone_numbers/{id}

URL Parameters

ParameterTypeDescription
idintegerThe phone number ID

Example Request

$curl --request GET "https://app.resemble.ai/api/v2/phone_numbers/1" \
> -H "Authorization: Bearer YOUR_API_TOKEN" \
> -H "Content-Type: application/json"

Response

1{
2 "success": true,
3 "item": {
4 "id": 1,
5 "phone_number": "+14155551234",
6 "label": "Support Line",
7 "supports_inbound": true,
8 "supports_outbound": false,
9 "provider": "twilio",
10 "status": "active",
11 "agent_id": 123,
12 "agent_name": "Customer Support Agent",
13 "agent_uuid": "550e8400-e29b-41d4-a716-446655440000",
14 "outbound_trunk": {},
15 "inbound_trunk": {},
16 "twilio_account_sid": "AC...",
17 "has_twilio_credentials": true,
18 "created_at": "2025-01-27T10:00:00Z",
19 "updated_at": "2025-01-27T10:00:00Z"
20 }
21}

Response Body

See List Phone Numbers for detailed field descriptions.