curl --request GET \
--url https://api.topcalls.ai/v1/phone-numbers/{phone_number_id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "+18005551234",
"source": "topcalls",
"status": "active",
"phone_number_sid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voip_carrier_sid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"carrier_name": "<string>",
"label": "<string>",
"error_message": "<string>",
"created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Retrieve detailed information about a specific phone number.
curl --request GET \
--url https://api.topcalls.ai/v1/phone-numbers/{phone_number_id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "+18005551234",
"source": "topcalls",
"status": "active",
"phone_number_sid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voip_carrier_sid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"carrier_name": "<string>",
"label": "<string>",
"error_message": "<string>",
"created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Use Authorization: Bearer tc_live_xxxxx
Phone number UUID
Phone number details
Phone number UUID
Account UUID
Phone number in E.164 format
"+18005551234"
Phone number source:
topcalls - TopCalls default carrierbyoc - Bring Your Own Carriermanual - Manually addedimport - Imported from external sourcetopcalls, byoc, manual, import, twilio Phone number status:
active - Ready to useinactive - Disabled but still provisionedpending - Provisioning in progressfailed - Provisioning faileddeleted - Soft deletedactive, inactive, pending, failed, deleted Provisioned phone number ID in the telephony system
Carrier UUID
Carrier display name
User-friendly label
Error details when status is 'failed'
User who created this number