Skip to content
Get started
Esc
Instagram

Channels

Updated 4 December 2026

Connecting

  • The account connects on the workspace's Channels page by signing in to Meta, or the client connects it with a connect link.

Receiving a message

  • When a customer writes, the message.received event comes to the webhook address.
  • from is the customer's id on Instagram. There is no number, so tie messages together by contact_id.
  • A file in the message downloads with ⁠GET /v1/media/{id}, the id being media.id from the event.
JSON
{
    "type": "message.received",
    "timestamp": "2026-10-09T09:30:00+00:00",
    "workspace": {
        "id": "0199c5e2-0d4b-7e21-a3f6-8c2b1e7d9a40",
        "name": "Smile Clinic"
    },
    "data": {
        "id": "0199c5e2-6a29-7b40-8e0d-2f1c3a4b5d6e",
        "contact_id": "0199c5e2-1f0a-7a42-8d1e-5b7c9a2e4f10",
        "from": "1234567890123456",
        "name": "Asel",
        "channel": "instagram",
        "type": "text",
        "text": {
            "body": "Hello! When will my order be ready?"
        },
        "received_at": "2026-10-09T09:30:00+00:00",
        "free_text_until": "2026-10-10T09:30:00+00:00"
    }
}

Replying

  • You may reply within 24 h of the customer's last message, later the reply gets outside_window.
  • Put the from of the customer's message in to.
  • Photos, videos and audio by a url link only. A caption goes as its own message.

Send text, ⁠POST /v1/messages:

JSON
{
    "to": "1234567890123456",
    "channel": "instagram",
    "type": "text",
    "text": {
        "body": "Hello! Your order #1042 is ready, and you can pick it up today until 8 pm."
    }
}

Send a photo, ⁠POST /v1/messages:

JSON
{
    "to": "1234567890123456",
    "channel": "instagram",
    "type": "image",
    "image": {
        "url": "https://shop.example.kz/orders/1042.jpg",
        "caption": "Your order #1042 is packed"
    }
}

Writing first

  • Not possible: on Instagram you can only reply to someone who wrote.

On Instagram a business can only reply to a customer who wrote first, and there are no templates.

Statuses

  • Statuses come as the message.status event: sent → read.