Messagebird · Schema

MessageCreate

Properties

Name Type Description
recipients array The phone numbers that will receive the message in international format. A maximum of 50 recipients can be specified per request.
originator string The sender of the message. Can be a telephone number including country code or an alphanumeric string with a maximum length of 11 characters.
body string The body of the SMS message. Messages longer than 160 characters will be split into multiple parts.
type string The type of message. Can be sms, binary, or flash.
reference string A client reference for tracking purposes.
reportUrl string The URL for delivery report callbacks for this message.
validity integer The validity period of the message in seconds.
gateway integer The SMS route used to send the message.
typeDetails object Additional type-specific details for the message.
datacoding string The encoding used for the message body. Use auto for automatic detection, unicode for Unicode, or plain for GSM encoding.
mclass integer The message class. Set to 1 for flash messages.
scheduledDatetime string The scheduled date and time of the message in RFC 3339 format.
View JSON Schema on GitHub

JSON Schema

messagebird-messagecreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MessageCreate",
  "title": "MessageCreate",
  "type": "object",
  "required": [
    "recipients",
    "originator",
    "body"
  ],
  "properties": {
    "recipients": {
      "type": "array",
      "description": "The phone numbers that will receive the message in international format. A maximum of 50 recipients can be specified per request.",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "maxItems": 50
    },
    "originator": {
      "type": "string",
      "description": "The sender of the message. Can be a telephone number including country code or an alphanumeric string with a maximum length of 11 characters.",
      "maxLength": 17
    },
    "body": {
      "type": "string",
      "description": "The body of the SMS message. Messages longer than 160 characters will be split into multiple parts.",
      "maxLength": 1377
    },
    "type": {
      "type": "string",
      "description": "The type of message. Can be sms, binary, or flash.",
      "enum": [
        "sms",
        "binary",
        "flash"
      ],
      "default": "sms"
    },
    "reference": {
      "type": "string",
      "description": "A client reference for tracking purposes."
    },
    "reportUrl": {
      "type": "string",
      "format": "uri",
      "description": "The URL for delivery report callbacks for this message."
    },
    "validity": {
      "type": "integer",
      "description": "The validity period of the message in seconds."
    },
    "gateway": {
      "type": "integer",
      "description": "The SMS route used to send the message."
    },
    "typeDetails": {
      "type": "object",
      "description": "Additional type-specific details for the message."
    },
    "datacoding": {
      "type": "string",
      "description": "The encoding used for the message body. Use auto for automatic detection, unicode for Unicode, or plain for GSM encoding.",
      "enum": [
        "plain",
        "unicode",
        "auto"
      ],
      "default": "plain"
    },
    "mclass": {
      "type": "integer",
      "description": "The message class. Set to 1 for flash messages.",
      "enum": [
        0,
        1
      ]
    },
    "scheduledDatetime": {
      "type": "string",
      "format": "date-time",
      "description": "The scheduled date and time of the message in RFC 3339 format."
    }
  }
}

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/messagebird-messagecreate"
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.