Elocuenti · Schema

PublicMessageBody

Request body for POST /api/v1/messages.

CompanyArtificial IntelligenceConversational AIOmnichannelAutomationIntegration

Properties

Name Type Description
to string
type string
template object
text object
idempotency_key string
reference object
from object Optional: the business WhatsApp number to send from, in E.164 (`+573001234567`); without it, the business default. A number that is not one of your active numbers answers 422 `from_number_not_availabl
View JSON Schema on GitHub

JSON Schema

elocuenti-com-public-message-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elocuenti-com/json-schema/elocuenti-com-public-message-body-schema.json",
  "title": "PublicMessageBody",
  "description": "Request body for POST /api/v1/messages.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elocuenti-com-messages-api-openapi.yml#/components/schemas/PublicMessageBody",
  "type": "object",
  "properties": {
    "to": {
      "type": "string",
      "minLength": 1,
      "title": "To"
    },
    "type": {
      "type": "string",
      "enum": [
        "template",
        "text"
      ],
      "title": "Type"
    },
    "template": {
      "anyOf": [
        {
          "$ref": "#/$defs/MessageTemplate"
        },
        {
          "type": "null"
        }
      ]
    },
    "text": {
      "anyOf": [
        {
          "$ref": "#/$defs/MessageText"
        },
        {
          "type": "null"
        }
      ]
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "title": "Idempotency Key"
    },
    "reference": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Reference"
    },
    "from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional: the business WhatsApp number to send from, in E.164 (`+573001234567`); without it, the business default. A number that is not one of your active numbers answers 422 `from_number_not_available`. `from` is part of the request: the same `idempotency_key` with another `from` answers 409 `idempotency_conflict`, so use a new key when you change the number.",
      "title": "From"
    }
  },
  "required": [
    "to",
    "type",
    "idempotency_key"
  ],
  "additionalProperties": false,
  "$defs": {
    "MessageTemplate": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "title": "Name"
        },
        "language": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Language"
        },
        "params": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ],
          "title": "Params"
        }
      },
      "required": [
        "name"
      ],
      "additionalProperties": false,
      "description": "The `template` block of a `type: \"template\"` send.",
      "title": "MessageTemplate"
    },
    "MessageText": {
      "type": "object",
      "properties": {
        "body": {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096,
          "title": "Body"
        }
      },
      "required": [
        "body"
      ],
      "additionalProperties": false,
      "description": "The `text` block of a `type: \"text\"` send.",
      "title": "MessageText"
    }
  }
}

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/elocuenti-com-public-message-body"
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.