Skip to main content

API Tokens

API Tokens allow you to authenticate your applications and scripts with the WhatsSpot API programmatically. You can generate multiple tokens for different integrations.

Managing API Tokens

You can manage your API tokens directly from the WhatsSpot Dashboard.

Creating a Token

  1. Go to Settings > API Tokens.
  2. Click the Generate Token button.
  3. Enter a descriptive name for your token (e.g., "Zapier Integration", "Website Contact Form").
  4. Click Generate.
  5. Copy your token immediately.

[!CAUTION] For security reasons, the token is only shown once. If you close the dialog without copying it, you will need to generate a new one.

Revoking a Token

If a token is compromised or no longer needed, you should revoke it immediately:

  1. Go to Settings > API Tokens.
  2. Find the token in the list.
  3. Click the Trash Icon (Revoke).
  4. The token will stop working immediately.

Using API Tokens

Include your token in the HTTP Authorization header or as a custom header x-api-key in your requests.

See the API Reference for technical details on using tokens.