Skip to main content
The WaMatrix API uses API keys for authentication. Every request must include your key in the Authorization header. You can generate API keys in your Reseller Dashboard and scope them to your full account or to individual workspaces.

Generating an API Key

1

Log in to your Reseller Dashboard

Go to app.wamatrix.io (or your custom domain) and sign in to your reseller account.
2

Open API Settings

Navigate to Settings → API → API Keys.
3

Create a new key

Click New API Key.
4

Name your key

Enter a descriptive name for the key — for example, CRM Integration or n8n Automation — so you can identify it later.
5

Choose a scope

Select the appropriate scope:
  • Reseller — full access to all workspaces and reseller-level endpoints.
  • Workspace — access restricted to a single client workspace.
6

Generate and copy the key

Click Generate. Copy the key immediately — it is shown only once.
API keys are shown only once at creation time. Store them securely — for example, in an environment variable or a secrets manager. If you lose a key, revoke it and generate a new one.

Using Your API Key

Pass your API key as a Bearer token in the Authorization header of every request.
cURL

API Key Scopes

Revoking Keys

To revoke an API key, go to Settings → API → API Keys, find the key you want to remove, and click Revoke. Revoked keys stop working immediately. Generate a new key and update any integrations that relied on the revoked key.

Authentication Errors

Store API keys as environment variables (e.g. WAMATRIX_API_KEY) and never hard-code them in source files or commit them to version control.