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

# Send Message

Send an SMS or iMessage via API.


## OpenAPI

````yaml post /messages/send
openapi: 3.0.3
info:
  title: Messages API
  version: 1.0.0
  description: >-
    API for sending messages, uploading media, fetching messages, and handling
    Arnio's webhooks.
servers:
  - url: https://api.arnio.co/api/v1
security: []
paths:
  /messages/send:
    post:
      tags:
        - Messages
      summary: Send a message
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                phoneNumber:
                  type: string
                  example: Recipient phone number in E.164 format (+15551234567)
                message:
                  type: string
                  example: Text message body
                file:
                  type: string
                  format: binary
                  example: File attachment (binary upload)
                fileUrl:
                  type: string
                  format: uri
                  example: Remote file URL if not uploading directly
                type:
                  type: string
                  example: Message type e.g. text, audio
              required:
                - phoneNumber
                - type
      responses:
        '200':
          description: Message job queued for processing
          content:
            application/json:
              example:
                status: queued
                message: Message job queued for processing
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Provide your generated API Key.

````