Webex · Example Payload

Webex Validate Phone Numbers Example

CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing

Webex Validate Phone Numbers Example is an example object payload from Webex, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "Validate phone numbers",
  "method": "POST",
  "path": "/telephony/config/actions/validateNumbers/invoke",
  "summary": "Validate phone numbers",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "example1",
      "example": {
        "phoneNumbers": [
          "+12145557861"
        ]
      }
    },
    {
      "contentType": "application/json",
      "name": "example2",
      "example": {
        "phoneNumbers": [
          "+12145559000",
          "+12145553567"
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "example1",
      "example": {
        "status": "OK",
        "numbers": [
          {
            "number": "+12145557861",
            "state": "Available",
            "tollFreeNumber": false
          }
        ]
      }
    },
    {
      "status": "200",
      "contentType": "application/json",
      "name": "example2",
      "example": {
        "status": "ERRORS",
        "numbers": [
          {
            "number": "+12145559000",
            "state": "Unavailable",
            "tollFreeNumber": false,
            "detail": [
              "[Error 8361] DN is unavailable : +12145559000"
            ]
          },
          {
            "number": "+12145553567",
            "state": "Available",
            "tollFreeNumber": false
          }
        ]
      }
    }
  ]
}