> ## Documentation Index
> Fetch the complete documentation index at: https://developer.zeckta.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send a single SMS

> Queues a single message via the Outbox pattern.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/messaging/sms/messages
openapi: 3.1.0
info:
  title: Zeckta Messaging API
  description: |
    Zeckta Messaging API provides SMS messaging,
    OTP verification, Sender Name management,
    delivery tracking, campaign messaging,
    and webhook integrations.
  contact:
    name: Zeckta
    url: https://zeckta.com
    email: support@zeckta.com
  license:
    name: Commercial
  version: 1.0.0
servers:
  - url: https://api.zeckta.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: SMS Messaging
    description: RESTful endpoints for single and bulk SMS
  - name: Sender Names
    description: SMS sender name management
  - name: Workspace
    description: Manage and inspect workspace / account details
  - name: OTP Service
    description: RESTful endpoints for 2-Factor Authentication
paths:
  /v1/messaging/sms/messages:
    post:
      tags:
        - SMS Messaging
      summary: Send a single SMS
      description: Queues a single message via the Outbox pattern.
      operationId: sendSingle
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SingleMessageRequestDTO'
        required: true
      responses:
        '202':
          description: Message accepted for processing
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ZecktaApiResponseSingleMessageResponseDTO'
        '400':
          description: Invalid request
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ZecktaApiResponseObject'
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ZecktaApiResponseObject'
        '402':
          description: Payment Required
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ZecktaApiResponseObject'
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ZecktaApiResponseObject'
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ZecktaApiResponseObject'
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ZecktaApiResponseObject'
        '429':
          description: Rate limit exceeded
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ZecktaApiResponseObject'
        '500':
          description: Internal Server Error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ZecktaApiResponseObject'
components:
  schemas:
    SingleMessageRequestDTO:
      type: object
      properties:
        src:
          type: string
          maxLength: 11
          minLength: 0
          pattern: ^[A-Za-z0-9 .-]{1,11}$
        dest:
          type: string
          pattern: ^\+[1-9]\d{7,14}$
        message:
          type: string
          maxLength: 1530
          minLength: 0
        priority:
          type: string
          pattern: normal|medium|high
        type:
          type: string
          pattern: plain|flash
        callbackUrl:
          type: string
        scheduledAt:
          type: string
          format: date-time
      required:
        - dest
        - message
        - src
    ZecktaApiResponseSingleMessageResponseDTO:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          $ref: '#/components/schemas/SingleMessageResponseDTO'
        requestId:
          type: string
    ZecktaApiResponseObject:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
        requestId:
          type: string
    SingleMessageResponseDTO:
      type: object
      properties:
        status:
          type: string
          description: Queue status
          example: queued
        timestamp:
          type: string
          description: ISO timestamp when queued
        messageId:
          type: string
          format: uuid
          description: Internal message UUID
        service:
          type: string
          description: Service ID of the message
        message:
          type: string
          description: Content of the message
        messageLength:
          type: integer
          format: int32
          description: Character length of the message
        src:
          type: string
          description: Sender ID used
        dest:
          type: string
          description: Recipient dest number
        encoding:
          type: string
          description: Encoding used (GSM-7 or UCS-2)
        segments:
          type: integer
          format: int32
          description: Number of segments message was split into
        units:
          type: integer
          format: int64
          description: SMS units consumed
        cost:
          type: integer
          format: int64
          description: Cost charged for this message
        priority:
          type: string
          description: Priority of this message (normal/medium/high)
        channel:
          type: string
          description: Channel of this message (dashboard/api)
        type:
          type: string
          description: Type of this message (plain/flash)
  securitySchemes:
    bearerAuth:
      type: http
      description: 'Provide your Zeckta API Key using: Bearer YOUR_API_KEY'
      scheme: bearer
      bearerFormat: API Key

````