Skip to main content

Authentication

To use the API, you must authenticate every request using an API Key.

Generating an API Key

  1. Log in to your WhatsSpot Dashboard.
  2. Go to Settings > API Access.
  3. Click Create New Token.
  4. Give it a name (e.g., "Zapier Integration").
  5. Copy the token immediately. It will not be shown again.

Making Requests

Include the x-api-key header in all your HTTP requests.

POST /v1/messages/send HTTP/1.1
Host: api.whatsspot.com
x-api-key: YOUR_API_TOKEN_HERE
Content-Type: application/json

[!WARNING] Keep your API key secure. Do not share it in client-side code (browsers/mobile apps). If compromised, revoke it immediately from the dashboard.