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>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"assistantId": "<string>",
"squadId": "<string>",
"fallbackDestination": {
"number": "<string>",
"type": "number",
"extension": "<string>",
"callerId": "<string>",
"message": "<string>",
"description": "<string>",
"numberE164CheckEnabled": true
},
"serverUrl": "<string>",
"serverUrlSecret": "<string>",
"orgId": "<string>",
"twilioAccountSid": "<string>",
"twilioAuthToken": "<string>"
}Get phone number by ID.
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>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"assistantId": "<string>",
"squadId": "<string>",
"fallbackDestination": {
"number": "<string>",
"type": "number",
"extension": "<string>",
"callerId": "<string>",
"message": "<string>",
"description": "<string>",
"numberE164CheckEnabled": true
},
"serverUrl": "<string>",
"serverUrlSecret": "<string>",
"orgId": "<string>",
"twilioAccountSid": "<string>",
"twilioAuthToken": "<string>"
}Successful Response
Show child attributes