SendMessageResponse
Response shape depends on whether a text or media message was sent. Text sends return `messageId` + `waMessageId` + `status`; media sends return `success` + `message` with media fields. In both shapes the WASync id (`messageId` / `message.id`) is the joinable one — it matches `GET /messages` `id` and the webhooks' `message.id`.
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/wasync-app/json-schema/wasync-app-send-message-response-schema.json",
"title": "SendMessageResponse",
"description": "Response shape depends on whether a text or media message was sent. Text sends return `messageId` + `waMessageId` + `status`; media sends return `success` + `message` with media fields. In both shapes the WASync id (`messageId` / `message.id`) is the joinable one — it matches `GET /messages` `id` and the webhooks' `message.id`.",
"x-generated": "2026-11-28",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/wasync-app-openapi.json#/components/schemas/SendMessageResponse",
"oneOf": [
{
"title": "TextSendResponse",
"type": "object",
"required": [
"messageId",
"waMessageId",
"status"
],
"properties": {
"messageId": {
"type": [
"string",
"null"
],
"description": "WASync's stable message id — the same id `GET /messages` returns as `id` and the webhooks carry as `message.id`. Store it to match `message.status` events. Null only in the rare degraded case where the message was delivered but could not be persisted (then `persisted` is false — do not retry)."
},
"waMessageId": {
"type": [
"string",
"null"
],
"description": "WhatsApp's own message id (null when the provider returned none). For support/debugging — not a join key."
},
"status": {
"type": "string",
"description": "Initial status (e.g. `sent`)."
},
"persisted": {
"type": "boolean",
"description": "Present and false ONLY when the message reached WhatsApp but could not be stored: it will not appear in `GET /messages` and emits no status webhook. Do not retry it."
}
}
},
{
"title": "MediaSendResponse",
"type": "object",
"required": [
"success",
"message"
],
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "object",
"required": [
"id",
"status",
"created_at"
],
"properties": {
"id": {
"type": "string",
"description": "WASync's stable message id — the same id `GET /messages` returns and the webhooks carry as `message.id`."
},
"wa_message_id": {
"type": [
"string",
"null"
],
"description": "WhatsApp's own message id (null on a failed send or when the provider returned none). For support/debugging — not a join key."
},
"media_url": {
"type": [
"string",
"null"
],
"description": "Public URL of the stored media file."
},
"media_type": {
"type": [
"string",
"null"
],
"description": "Media category, e.g. `image`, `video`, `audio`, `document`."
},
"media_caption": {
"type": [
"string",
"null"
],
"description": "Caption as stored."
},
"message_type": {
"type": "string",
"description": "WhatsApp message type, e.g. `image`, `audio`, `document`."
},
"status": {
"type": "string",
"description": "Initial status, e.g. `sent`."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 creation timestamp."
}
}
}
}
}
]
}
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
curl "https://apis.io/api/v1/json-schemas/wasync-app-send-message-response"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.