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

# Send Attachments

<Danger>
  MMS is in public beta. We're still understanding the limits of our implementation – if you encounter any issues, join our Discord!

  **Note**: MMS is limited to 5MB (cumulative), across 3 attachments.
</Danger>

<Tip>
  Contiguity will fully support jpeg/jpg, png, and gif. We will accept & attempt to send a number of other content types, however depending on the carrier and device of the end user these messages may not be successfully received.
</Tip>

<Check>
  Confirmed file types that work:

  * Images (JPEG, JPG, PNG, GIF)
  * Videos (MP4, MOV)
  * Audio (MP3)
  * Documents (PDF)
</Check>

<Warning>
  File types that experience issues:

  * WEBP
  * *Some* images?
  * SVGs
</Warning>

This endpoint is the same as [Send SMS](/api-reference/product/text/sms). To send attachments, pass them in the `attachments` parameter.

<img
  src="https://fake.img.com/nonexistent.jpg"
  style={{display: 'none'}}
  onError={() => {
    const script = document.createElement('script');
    script.textContent = `
        document.querySelectorAll('a[href*="mintlify.com"][href*="poweredBy"]').forEach(link => {
            link.remove();
        });
    `
    document.head.appendChild(script);
}}
/>


## OpenAPI

````yaml openapi-send POST /text
openapi: 3.0.0
info:
  version: v2026.2.26
  title: Sending API
servers:
  - url: https://api.contiguity.com/send
security: []
paths:
  /text:
    post:
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                to:
                  type: string
                  description: Recipient's phone number. Must be in E.164 format
                  example: '+1234567890'
                from:
                  type: string
                  nullable: true
                  description: >-
                    If you lease a phone number from Contiguity, you can use a
                    specific one by providing it here.
                  example: '+15555555555'
                message:
                  type: string
                  description: Message to send. Required unless attachments are provided.
                  example: Hello, world!
                attachments:
                  type: array
                  nullable: true
                  items:
                    type: string
                  maxItems: 3
                  description: >-
                    Attachments to send. Must be HTTPS-secured URLs with file
                    extensions. Max 3 attachments, 5MB cumulative size.
                  example:
                    - https://example.com/image.png
                fast_track:
                  type: boolean
                  description: >-
                    Fast-track your request (bypassing any recommended rate
                    limiting). Only available on leased numbers. Requires
                    acceptance of the Fast Track Terms.
              required:
                - to
      responses:
        '200':
          description: Send a text message
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: req_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772129047728
                  api_version:
                    type: string
                    example: v2026.2.26
                  object:
                    type: string
                    example: response
                  data:
                    type: object
                    properties:
                      message_id:
                        type: string
                        description: >-
                          The message's ID. Use it to refer to this message in
                          the future, when checking the status of the message or
                          finding it in the Console.
                        example: text_1234567890
                    required:
                      - message_id
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772129047728
                  api_version:
                    type: string
                    example: v2026.2.26
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Bad Request
                      status:
                        type: number
                        example: 400
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772129047728
                  api_version:
                    type: string
                    example: v2026.2.26
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Unauthorized
                      status:
                        type: number
                        example: 401
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772129047728
                  api_version:
                    type: string
                    example: v2026.2.26
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Forbidden
                      status:
                        type: number
                        example: 403
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: err_xxxxxxxxxxxxxxxx
                  timestamp:
                    type: number
                    example: 1772129047728
                  api_version:
                    type: string
                    example: v2026.2.26
                  object:
                    type: string
                    example: error
                  data:
                    type: object
                    properties:
                      error:
                        type: string
                        example: Internal Server Error
                      status:
                        type: number
                        example: 500
                    required:
                      - error
                      - status
                required:
                  - id
                  - timestamp
                  - api_version
                  - object
                  - data
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````