API Key Authentication
All v1 endpoints use API Key authentication. Pass your key in the X-Api-Key header:
API keys are prefixed with wh_ and scoped to a workspace. Each key can have a callbackUrl where session responses are delivered via Webhook.
How to create an API Key
- Go to the whatabot Dashboard
- Navigate to the Workspaces screen
- Click Edit on the desired workspace
- Go to the API tab
- Click Create API Key, set a name and the
callbackUrl
- Copy the generated key (starts with
wh_)
The API key is only shown once. Store it in a secure location.
Iframe Authentication
To embed the whatabot flow editor in your app via iframe, you need an OAuth client (clientId + clientSecret).
See the full Embed Authentication guide for instructions on how to create the client and the authentication flow.