API ReferencePhone numbers
Get phone number assignment detail
Authorization
ApiKeyAuth AuthorizationBearer <token>
Team API key (prefix sk_). You may also send the key via X-Api-Key header.
In: header
Path Parameters
phoneNumberId*string
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/console/phone-numbers/string"{ "message": "string", "data": { "id": "string", "agent_id": "string", "label": "string", "e164": "string", "created_at": "string", "updated_at": "string", "inbound_enabled": true }}{ "message": "Resource not found", "error": "Not Found", "code": "not_found", "statusCode": 404, "request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"}