cURL
curl --request GET \ --url https://api.voicebot.studio/api/v1/phone-number/{phone_number_id} \ --header 'X-API-Key: <api-key>'
{ "id": "<string>", "provider": "<string>", "number": "<string>", "name": "<string>", "assistantId": "<string>", "squadId": "<string>", "fallbackDestination": { "type": "number", "number": "<string>", "extension": "<string>", "callerId": "<string>", "message": "<string>", "description": "<string>", "numberE164CheckEnabled": true }, "serverUrl": "<string>", "serverUrlSecret": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "orgId": "<string>", "twilioAccountSid": "<string>", "twilioAuthToken": "<string>" }
Get phone number by ID.
Successful Response
Show child attributes