Infobip · Schema

Message

TelecommunicationsCroatiaCPaaSMessagingSMSVoiceRCSWhatsAppEmailNetwork APIsCAMARAOpen GatewayIdentity VerificationSIM SwapNumber VerificationOmnichannelAggregatorCustomer EngagementCommunications

Properties

Name Type Description
applicationId string The ID of the application that represents your service (e.g. 2FA for login, 2FA for changing the password, etc.) for which the requested message has been created.
emailTemplateId integer Email template ID that should reference a previously created Email template. This field is present only for [Email message templates](#channels/sms/create-2fa-email-message-template).
from string The sender of the 2FA message, an email address with an optional sender name (e.g. `company@example.com` or `Jane Smith `). This field is present only for [Email message te
landingPageId string Opt out landing page ID that should reference a previously created landing page template. This field is present only for [Email message templates](#channels/sms/create-2fa-email-message-template).
language object The language code which message is written in used when sending text-to-speech messages. If not defined, it will default to English (`en`).
messageId string The ID of the message template (message body with the PIN placeholder) that is sent to the recipient.
messageText string Text of a message that will be sent. Message text must contain `pinPlaceholder`.
pinLength integer PIN code length.
pinPlaceholder string The PIN code placeholder that will be replaced with a generated PIN code.
pinType object The type of PIN code that will be generated and sent as part of 2FA message. You can set PIN type to numeric, alpha, alphanumeric or hex.
regional object Region specific parameters, often specified by local laws. Use this if country or region that you are sending SMS to requires some extra parameters.
repeatDTMF string In case PIN message is sent by Voice, DTMF code will enable replaying the message.
senderId string The sender of the 2FA message (Example: CompanyName).
speechRate number In case PIN message is sent by Voice, the speed of speech can be set for the message. Supported range is from `0.5` to `2`.
voiceName string Defines the voice that will be used for the chosen language (example: Joanna). For each supported language, we may offer different voices (learn more [here](https://www.infobip.com/docs/voice-and-vide
View JSON Schema on GitHub

JSON Schema

infobip-c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/infobip/main/json-schema/infobip-c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3-message-schema.json",
  "title": "Message",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infobip-platform-api-openapi.yml#/components/schemas/c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3.Message",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The ID of the application that represents your service (e.g. 2FA for login, 2FA for changing the password, etc.) for which the requested message has been created.",
      "readOnly": false,
      "writeOnly": false
    },
    "emailTemplateId": {
      "type": "integer",
      "format": "int64",
      "description": "Email template ID that should reference a previously created Email template. This field is present only for [Email message templates](#channels/sms/create-2fa-email-message-template).",
      "readOnly": false,
      "writeOnly": false
    },
    "from": {
      "type": "string",
      "description": "The sender of the 2FA message, an email address with an optional sender name (e.g. `company@example.com` or `Jane Smith <jane.smith@somecompany.com>`). This field is present only for [Email message templates](#channels/sms/create-2fa-email-message-template).",
      "readOnly": false,
      "writeOnly": false
    },
    "landingPageId": {
      "type": "string",
      "description": "Opt out landing page ID that should reference a previously created landing page template. This field is present only for [Email message templates](#channels/sms/create-2fa-email-message-template).",
      "readOnly": false,
      "writeOnly": false
    },
    "language": {
      "allOf": [
        {
          "$ref": "#/$defs/c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3.Language"
        }
      ],
      "description": "The language code which message is written in used when sending text-to-speech messages. If not defined, it will default to English (`en`).",
      "readOnly": false,
      "writeOnly": false
    },
    "messageId": {
      "type": "string",
      "description": "The ID of the message template (message body with the PIN placeholder) that is sent to the recipient.",
      "readOnly": false,
      "writeOnly": false
    },
    "messageText": {
      "type": "string",
      "description": "Text of a message that will be sent. Message text must contain `pinPlaceholder`.",
      "readOnly": false,
      "writeOnly": false
    },
    "pinLength": {
      "type": "integer",
      "format": "int32",
      "description": "PIN code length.",
      "readOnly": false,
      "writeOnly": false
    },
    "pinPlaceholder": {
      "type": "string",
      "description": "The PIN code placeholder that will be replaced with a generated PIN code.",
      "readOnly": false,
      "writeOnly": false
    },
    "pinType": {
      "allOf": [
        {
          "$ref": "#/$defs/c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3.PinType"
        }
      ],
      "description": "The type of PIN code that will be generated and sent as part of 2FA message. You can set PIN type to numeric, alpha, alphanumeric or hex.",
      "readOnly": false,
      "writeOnly": false
    },
    "regional": {
      "allOf": [
        {
          "$ref": "#/$defs/c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3.RegionalOptions"
        }
      ],
      "description": "Region specific parameters, often specified by local laws. Use this if country or region that you are sending SMS to requires some extra parameters.",
      "readOnly": false,
      "writeOnly": false
    },
    "repeatDTMF": {
      "type": "string",
      "description": "In case PIN message is sent by Voice, DTMF code will enable replaying the message.",
      "readOnly": false,
      "writeOnly": false
    },
    "senderId": {
      "type": "string",
      "description": "The sender of the 2FA message (Example: CompanyName).",
      "readOnly": false,
      "writeOnly": false
    },
    "speechRate": {
      "type": "number",
      "format": "double",
      "description": "In case PIN message is sent by Voice, the speed of speech can be set for the message. Supported range is from `0.5` to `2`.",
      "readOnly": false,
      "writeOnly": false
    },
    "voiceName": {
      "type": "string",
      "description": "Defines the voice that will be used for the chosen language (example: Joanna). For each supported language, we may offer different voices (learn more [here](https://www.infobip.com/docs/voice-and-video/reference#text-to-speech-languages)). You can use this [method](https://www.infobip.com/docs/api/channels/voice/voice-message/get-voices) to retrieve all voices for the given language. If not defined, it will default to the standard voice for the selected language (if available). If the standard voice is not available, the request will fail. To avoid that, you can choose one of the neural voices (charges will apply).",
      "readOnly": false,
      "writeOnly": false
    }
  },
  "$defs": {
    "c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3.IndiaDltOptions": {
      "type": "object",
      "properties": {
        "contentTemplateId": {
          "type": "string",
          "description": "Registered DLT content template ID which matches message you are sending.",
          "maxLength": 30,
          "minLength": 0,
          "readOnly": false,
          "writeOnly": false
        },
        "principalEntityId": {
          "type": "string",
          "description": "Your assigned DLT principal entity ID.",
          "maxLength": 30,
          "minLength": 0,
          "readOnly": false,
          "writeOnly": false
        },
        "teleMarketerId": {
          "type": "string",
          "description": "Your assigned Telemarketer ID (required for Aggregators).",
          "maxLength": 255,
          "minLength": 0,
          "readOnly": false,
          "writeOnly": false
        }
      },
      "required": [
        "principalEntityId"
      ],
      "title": "IndiaDltOptions"
    },
    "c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3.Language": {
      "type": "string",
      "enum": [
        "en",
        "es",
        "ca",
        "da",
        "nl",
        "fr",
        "de",
        "it",
        "ja",
        "ko",
        "no",
        "pl",
        "ru",
        "sv",
        "fi",
        "hr",
        "sl",
        "ro",
        "pt_pt",
        "pt_br",
        "zh_cn",
        "zh_tw"
      ],
      "title": "Language"
    },
    "c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3.PinType": {
      "type": "string",
      "enum": [
        "NUMERIC",
        "ALPHA",
        "HEX",
        "ALPHANUMERIC"
      ],
      "title": "PinType"
    },
    "c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3.RegionalOptions": {
      "type": "object",
      "properties": {
        "indiaDlt": {
          "allOf": [
            {
              "$ref": "#/$defs/c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3.IndiaDltOptions"
            }
          ],
          "description": "Distributed Ledger Technology (DLT) specific parameters required for sending SMS to phone numbers registered in India.",
          "readOnly": false,
          "writeOnly": false
        }
      },
      "title": "RegionalOptions"
    }
  }
}

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/infobip-c3b21d2ffef2552e10577daa67c904ac80618665b001ef386a4faefc515e78f3-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.