API ReferencePhone Numbers
List phone numbers
Get all phone numbers configured for an organization.
Authorization
sessionAuth AuthorizationBearer <token>
NextAuth session token
In: header
Path Parameters
orgId*string
Format
uuidResponse Body
application/json
curl -X GET "https://platform.autophone.org/api/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/phone-numbers"{
"phoneNumbers": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
"phoneNumber": "string",
"displayName": "string",
"assistantId": "bb8c7fe3-2157-48a3-a0a7-af503b091988",
"provider": "twilio",
"status": "active",
"twilioSid": "string",
"capabilities": {
"voice": true,
"sms": true,
"mms": true
},
"createdAt": "2019-08-24T14:15:22Z"
}
]
}Empty
Empty