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

# Send Instagram Message

> Send an Instagram Direct message. The route auto-detects whether to use Meta Graph API or GoHighLevel based on the source of the last inbound IG message from this contact. Message text supports `{{contact.*}}`/`{{company.*}}` variables.



## OpenAPI

````yaml POST /contact/send/instagram/
openapi: 3.1.0
info:
  title: Outbox AI API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.getoutbox.ai
security: []
paths:
  /contact/send/instagram/:
    post:
      tags:
        - contact
      summary: Send Instagram Message to Contact
      description: >-
        Send an Instagram Direct message. The route auto-detects whether to use
        Meta Graph API or GoHighLevel based on the source of the last inbound IG
        message from this contact. Message text supports
        `{{contact.*}}`/`{{company.*}}` variables.
      operationId: contact_send_instagram_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendInstagramRequestRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SendInstagramRequestRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/SendInstagramRequestRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendInstagramResponse'
          description: ''
        '400':
          description: Missing field or invalid state.
        '404':
          description: Contact or required integration not found.
        '500':
          description: Provider send failed.
      security:
        - jwtAuth: []
        - {}
components:
  schemas:
    SendInstagramRequestRequest:
      type: object
      properties:
        contact_id:
          type: string
          format: uuid
        message:
          type: string
          minLength: 1
      required:
        - contact_id
        - message
    SendInstagramResponse:
      type: object
      properties:
        message_id:
          type: string
          nullable: true
        thread_message_id:
          type: string
          format: uuid
        source:
          $ref: '#/components/schemas/SourceEnum'
        status:
          type: string
      required:
        - message_id
        - source
        - status
        - thread_message_id
    SourceEnum:
      enum:
        - meta
        - ghl
      type: string
      description: |-
        * `meta` - meta
        * `ghl` - ghl
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````