WhatsApp · Schema

CallRequestPayload

MessagingAnalyticsWhatsAppBusiness MessagingMeta

Properties

Name Type Description
messaging_product string Messaging product
to string The number being called (callee)
action string The action being taken on the given call ID
session object Contains the session description protocol (SDP) type and description language
biz_opaque_callback_data string An arbitrary string you can pass in that is useful for tracking and logging purposes. Any app subscribed to the "calls" webhook field on your WhatsApp Business Account can receive this string, as it i
View JSON Schema on GitHub

JSON Schema

whatsapp-call-request-payload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-call-request-payload-schema.json",
  "title": "CallRequestPayload",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-business-messaging-api-openapi.yml#/components/schemas/CallRequestPayload",
  "type": "object",
  "properties": {
    "messaging_product": {
      "type": "string",
      "description": "Messaging product"
    },
    "to": {
      "type": "string",
      "description": "The number being called (callee)"
    },
    "action": {
      "type": "string",
      "enum": [
        "connect",
        "pre_accept",
        "accept",
        "reject",
        "terminate"
      ],
      "description": "The action being taken on the given call ID"
    },
    "session": {
      "type": "object",
      "properties": {
        "sdp_type": {
          "type": "string",
          "enum": [
            "offer",
            "answer"
          ],
          "description": "SDP type - \"offer\" for connect action, \"answer\" for accept action"
        },
        "sdp": {
          "type": "string",
          "description": "The SDP info of the device on the other end of the call. The SDP must be compliant with RFC 8866"
        }
      },
      "required": [
        "sdp_type",
        "sdp"
      ],
      "description": "Contains the session description protocol (SDP) type and description language"
    },
    "biz_opaque_callback_data": {
      "type": "string",
      "maxLength": 512,
      "description": "An arbitrary string you can pass in that is useful for tracking and logging purposes. Any app subscribed to the \"calls\" webhook field on your WhatsApp Business Account can receive this string, as it is included in the calls object within the subsequent Call Terminate Webhook payload. Cloud API does not process this field. Maximum 512 characters\n"
    }
  },
  "required": [
    "messaging_product",
    "to",
    "action"
  ]
}

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/whatsapp-call-request-payload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.