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

# Create scheduled message

> Schedule a message for future delivery



## OpenAPI

````yaml POST /scheduled-messages
openapi: 3.0.3
info:
  title: NativeMessage API
  version: 1.0.0
  description: Complete API documentation for NativeMessage platform
  contact:
    name: NativeMessage Support
    email: support@nativemessage.com
servers:
  - url: https://api-message.nativehub.live/api/v1
    description: Production server
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /scheduled-messages:
    post:
      tags:
        - Scheduled Messages
      summary: Create scheduled message
      description: Schedule a message for future delivery
      operationId: createScheduledMessage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - from
                - to
                - body
                - scheduled_at
              properties:
                from:
                  type: string
                to:
                  type: string
                body:
                  type: string
                scheduled_at:
                  type: string
                  format: date-time
              example:
                from: '+8801912345678'
                to: '+8801712345678'
                body: 'Reminder: Your appointment is tomorrow at 3 PM.'
                scheduled_at: '2026-02-15T09:00:00Z'
      responses:
        '201':
          description: Message scheduled successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduledMessage'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ScheduledMessage:
      type: object
      properties:
        id:
          type: string
          format: uuid
        tenant_id:
          type: string
          format: uuid
        account_id:
          type: string
          format: uuid
        from_number:
          type: string
        to_number:
          type: string
        body:
          type: string
        status:
          type: string
        scheduled_at:
          type: string
          format: date-time
        message_id:
          type: string
          format: uuid
        created_at:
          type: string
          format: date-time
      example:
        id: a3b4c5d6-e7f8-9012-ab34-567890123456
        tenant_id: c3d4e5f6-a7b8-9012-cdef-123456789012
        account_id: b2c3d4e5-f6a7-8901-bcde-f12345678901
        from_number: '+8801912345678'
        to_number: '+8801712345678'
        body: 'Reminder: Your appointment is tomorrow at 3 PM.'
        status: pending
        scheduled_at: '2026-02-15T09:00:00Z'
        created_at: '2026-02-14T14:00:00Z'
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
      example:
        error: Invalid request parameters
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````