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

# Quickstart

> Create a session token, pair WhatsApp, and send your first message.

## 1. Buy session capacity

Open the dashboard and buy the number of sessions you need.

After payment succeeds, each purchased slot is available for 30 days.

## 2. Create a token

In the dashboard, click **Create token** and give the token a display name.

WADial returns a `sessionId`. Save it in your application; this token ID is used in later API paths.

## 3. Create an API key

Open **API Keys** in the dashboard and create a key for your server.

Store the key securely on your server. It is shown only once.

## 4. Pair WhatsApp

Open the token, click **Scan device**, and scan the QR code from WhatsApp linked devices.

You can also request a pairing code by entering a phone number with country code.

## 5. Reconnect when needed

If a paired token shows `inactive` or `connected: false`, call connect again:

```http theme={null}
POST /api/v1/sessions/{sessionId}/connect
Authorization: Bearer <api_key>
```

This reconnects the same linked device. You only need QR or pairing code again if the token was logged out or unpaired.

## 6. Send a message

Send a text message from the token detail page, or call the message endpoint directly.
