curl --request GET \
--url https://api.getoutbox.ai/settings/phone \
--header 'Authorization: <api-key>'{
"results": [
{
"id": "<string>",
"owner": "company",
"integration": "twilio",
"type": "phone_number",
"country": "<string>",
"friendly_name": "<string>",
"phone_number": "<string>",
"agent": {
"id": "<string>",
"name": "<string>"
},
"rebill_on": true,
"inbound_cost": 123,
"outbound_cost": 123,
"charge_per_second": true,
"sip_uri": "<string>",
"sip_username": "<string>",
"sip_password": "<string>"
}
],
"integration": true
}Retrieve all phone numbers available to the company (both company-owned and agency-assigned)
curl --request GET \
--url https://api.getoutbox.ai/settings/phone \
--header 'Authorization: <api-key>'{
"results": [
{
"id": "<string>",
"owner": "company",
"integration": "twilio",
"type": "phone_number",
"country": "<string>",
"friendly_name": "<string>",
"phone_number": "<string>",
"agent": {
"id": "<string>",
"name": "<string>"
},
"rebill_on": true,
"inbound_cost": 123,
"outbound_cost": 123,
"charge_per_second": true,
"sip_uri": "<string>",
"sip_username": "<string>",
"sip_password": "<string>"
}
],
"integration": true
}Company API Key
Phone numbers retrieved successfully
Show child attributes
Null if not yet saved
company, agency twilio, vonage, telnyx, sip phone_number, verified_caller_id For SIP only
For SIP only
For SIP only
For SIP only
True if company has telephony integration