DigiChat Documentation
Overview

Token, session, first message.

Overview

This guide is the "from zero to first message" path.

1) Get your token + secret (Dashboard)

Create an API token in the dashboard, then copy:

  • API Token
  • API Secret

Keep the secret server-side. Don’t ship it to browsers or mobile apps.

Tokens list
  <figcaption class="docs-shot-caption">Tokens list</figcaption>
Token details (Token + Secret)
  <figcaption class="docs-shot-caption">Token details (Token + Secret)</figcaption>

2) Connect a WhatsApp session (Dashboard)

Open Sessions, start the token session, then scan the QR once.

Sessions page
  <figcaption class="docs-shot-caption">Sessions page</figcaption>
QR modal
  <figcaption class="docs-shot-caption">QR modal</figcaption>

When the status becomes ONLINE, you can send messages.

3) Send your first message (API)

Base URL:

  • https://stagging.digichat.digiworld-dev.com
  • /api/whatsapp/{token}

Example endpoint:

POST https://stagging.digichat.digiworld-dev.com/api/whatsapp/{token}/sendMessage

Next Authentication