> ## 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.

# List tokens

> List WhatsApp session tokens.

Returns tokens owned by the authenticated account.

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.wadial.com/api/v1/sessions" \
    -H "Authorization: Bearer $WADIAL_API_KEY"
  ```

  ```js JavaScript theme={null}
  const response = await fetch("https://api.wadial.com/api/v1/sessions", {
    headers: { Authorization: `Bearer ${process.env.WADIAL_API_KEY}` },
  });
  const { data } = await response.json();
  ```

  ```python Python theme={null}
  import os, requests

  response = requests.get(
      "https://api.wadial.com/api/v1/sessions",
      headers={"Authorization": f"Bearer {os.environ['WADIAL_API_KEY']}"},
  )
  data = response.json()["data"]
  ```
</RequestExample>

Use `connected: true` to find tokens ready for sending.
