Skip to main content
This page takes one customer from nothing to a working website chat that reports to your server.

Before you start

  • A partner account with ImpelLabs and a partner key. See Authentication.
  • A key with the scopes tenants:write, channels:write, messages:read and webhooks:manage.
  • A public https address on your server that takes webhooks.

1. Create a tenant

The answer is 201 with the tenant. A repeat of the same call answers 200 with the tenant that exists, so you can retry after a time-out.

2. Connect website chat

The answer holds embed_snippet. Put it on the customer’s site. See Website chat.

3. Register a webhook endpoint

The answer carries the signing secret once. Store it. See Webhooks and events for how to check the signature.

4. Read the conversations

When a visitor writes in the chat, your endpoint receives conversation.created and message.received. Read the conversation:
Without state, the list holds only conversations that a person has taken over. See Conversations.

Next

Connect WhatsApp or Messenger and Instagram for the same tenant.