Properties
| Name | Type | Description |
|---|---|---|
| type | string | |
| header | object | |
| body | object | |
| footer | object | |
| action | object | Action configuration varies by interactive type |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/whatsapp/refs/heads/main/json-schema/whatsapp-cloud-api-interactive-message-schema.json",
"title": "InteractiveMessage",
"description": "InteractiveMessage from WhatsApp API",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"button",
"list",
"product",
"product_list",
"cta_url",
"location_request_message",
"flow"
],
"example": "button"
},
"header": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text",
"image",
"video",
"document"
]
},
"text": {
"type": "string"
},
"image": {
"$ref": "#/components/schemas/MediaObject"
},
"video": {
"$ref": "#/components/schemas/MediaObject"
},
"document": {
"$ref": "#/components/schemas/DocumentObject"
}
}
},
"body": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 1024
}
}
},
"footer": {
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 60
}
}
},
"action": {
"type": "object",
"description": "Action configuration varies by interactive type",
"properties": {
"buttons": {
"type": "array",
"maxItems": 3,
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"reply"
]
},
"reply": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 256
},
"title": {
"type": "string",
"maxLength": 20
}
}
}
}
}
},
"button": {
"type": "string",
"description": "Button text for list messages",
"maxLength": 20
},
"sections": {
"type": "array",
"maxItems": 10,
"items": {
"$ref": "#/components/schemas/ListSection"
}
},
"catalog_id": {
"type": "string"
},
"product_retailer_id": {
"type": "string"
},
"name": {
"type": "string",
"description": "Action name for CTA URL or flow messages"
},
"parameters": {
"type": "object",
"description": "Parameters for CTA URL or flow actions"
}
}
}
},
"required": [
"type",
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/whatsapp-cloud-api-interactive-message"
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.