Bandwidth · Schema

CreateCallRequest

CreateCallRequest schema from Bandwidth voice API

CommunicationsCPaaSVoiceMessagingTelephonySMSMFA

Properties

Name Type Description
from string The Bandwidth phone number that will make the outbound call, in E.164 format
to string The destination phone number for the outbound call, in E.164 format
answerUrl string The URL to send the answer webhook to when the call is answered. The endpoint should return BXML to control the call flow.
answerMethod string The HTTP method to use for the answer webhook
answerFallbackUrl string Fallback URL for the answer webhook if the primary URL fails
answerFallbackMethod string The HTTP method for the fallback answer webhook
disconnectUrl string The URL to send the disconnect webhook to when the call ends
disconnectMethod string The HTTP method for the disconnect webhook
applicationId string The ID of the Bandwidth application associated with this call
tag string A custom string to attach to the call for tracking purposes
callTimeout number The timeout in seconds for the outbound call to be answered
callbackTimeout number The timeout in seconds for webhook callback requests
View JSON Schema on GitHub

JSON Schema

voice-create-call-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bandwidth/refs/heads/main/json-schema/voice-create-call-request-schema.json",
  "title": "CreateCallRequest",
  "description": "CreateCallRequest schema from Bandwidth voice API",
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "The Bandwidth phone number that will make the outbound call, in E.164 format",
      "example": "+19195551234"
    },
    "to": {
      "type": "string",
      "description": "The destination phone number for the outbound call, in E.164 format",
      "example": "+19195554321"
    },
    "answerUrl": {
      "type": "string",
      "format": "uri",
      "description": "The URL to send the answer webhook to when the call is answered. The endpoint should return BXML to control the call flow."
    },
    "answerMethod": {
      "type": "string",
      "enum": [
        "POST",
        "GET"
      ],
      "default": "POST",
      "description": "The HTTP method to use for the answer webhook"
    },
    "answerFallbackUrl": {
      "type": "string",
      "format": "uri",
      "description": "Fallback URL for the answer webhook if the primary URL fails"
    },
    "answerFallbackMethod": {
      "type": "string",
      "enum": [
        "POST",
        "GET"
      ],
      "default": "POST",
      "description": "The HTTP method for the fallback answer webhook"
    },
    "disconnectUrl": {
      "type": "string",
      "format": "uri",
      "description": "The URL to send the disconnect webhook to when the call ends"
    },
    "disconnectMethod": {
      "type": "string",
      "enum": [
        "POST",
        "GET"
      ],
      "default": "POST",
      "description": "The HTTP method for the disconnect webhook"
    },
    "applicationId": {
      "type": "string",
      "description": "The ID of the Bandwidth application associated with this call"
    },
    "tag": {
      "type": "string",
      "maxLength": 256,
      "description": "A custom string to attach to the call for tracking purposes"
    },
    "callTimeout": {
      "type": "number",
      "minimum": 1,
      "maximum": 300,
      "default": 30,
      "description": "The timeout in seconds for the outbound call to be answered"
    },
    "callbackTimeout": {
      "type": "number",
      "minimum": 1,
      "maximum": 25,
      "default": 15,
      "description": "The timeout in seconds for webhook callback requests"
    }
  },
  "required": [
    "from",
    "to",
    "answerUrl",
    "applicationId"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/voice-create-call-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.