Developer docs

IotaBot Chat API

Your website chat, in your code: every message in, live replies out.

Get an API key

Live chat API authentication: keys and websites

Authenticate, then see your websites.

  1. Open Developers → API keys in IotaBot and create a key with messages:send, messages:read and conversations:write.
  2. Keep it on your server as IOTABOT_API_KEY. Send it as Authorization: Bearer ….
  3. Use a test key (ib_test_…) while you build — same API, nothing is ever sent.
GET/v1/channelsSign in to try

Your websites

Request
curl -X GET "https://api.iotabot.com/v1/channels" \
  -H "Authorization: Bearer $IOTABOT_API_KEY"
Response · 200
{
  "data": {
    "websites": [
      {
        "id": "6a4b3fbbe291bce5bf701c5c",
        "name": "Acme store",
        "domains": [
          "https://acme.com"
        ]
      }
    ],
    "whatsapp": [
      {
        "id": "6a4c01aa…",
        "website_id": "6a4b3fbbe291bce5bf701c5c",
        "phone_number": "+91 98123 45678",
        "name": "Acme",
        "status": "connected",
        "marketing_messages": "ONBOARDED"
      }
    ],
    "instagram": [
      {
        "id": "6a4c02bb…",
        "website_id": "6a4b3fbbe291bce5bf701c5c",
        "username": "acme",
        "status": "connected"
      }
    ],
    "email": [
      {
        "id": "support",
        "website_id": "6a4b3fbbe291bce5bf701c5c",
        "address": "support@acme.com",
        "forwarding_active": true
      }
    ]
  }
}