Phone Numbers

Create phone number

Admin/Manager only

post/api/v1/phone-numbers

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/phone-numbers
  • Auth: bearerAuth (a scheme the document does not define)

Request body

numberstring required
type'voice' | 'text'
status'active' | 'inactive'
provider'twilio' | 'vapi' | 'telnyx' | 'ainumber' | 'twochat' | 'vonage' | 'kapso'
capabilitiesstring[]
metadataobject

Response

Created

successtrue required
messagestring

Example response

{
  "data": {
    "number": "+525512345678",
    "alias": "Línea Ventas"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.