{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/teliax/json-schema/teliax-internal-handlers-create-message-request-schema.json",
  "title": "internal_handlers.createMessageRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/teliax-customer-messaging-api-openapi.yml#/components/schemas/internal_handlers.createMessageRequest",
  "type": "object",
  "properties": {
    "body": {
      "description": "Body is the message text. Encoding (GSM-7 vs UCS-2) and segment count are\ncomputed automatically from the content.",
      "type": "string"
    },
    "from": {
      "description": "From is the sending telephone number. Must be a number assigned to your\naccount AND enrolled in an approved 10DLC campaign. NANP format, e.g.\n\"13039813633\".",
      "type": "string"
    },
    "status_callback": {
      "description": "StatusCallback is recorded against the message but is NOT yet delivered\nto: nothing posts message-status webhooks to it today. Poll\nGET /v1/messages/{id} for status. Inbound-message webhooks are a separate,\nworking feature configured per telephone number.",
      "type": "string"
    },
    "to": {
      "description": "To is the destination telephone number in E.164 / NANP format, e.g.\n\"13125551212\".",
      "type": "string"
    }
  }
}