Developers
API reference

API keys

API keys authenticate server-to-server calls into Pulse. Each key is scoped to specific operations, tied to one workspace, and revocable.

Key format

pk_1a2b3c4d5e6f7g8h...

The pk_ prefix identifies it as a Pulse key. The full value is shown once when created and cannot be retrieved afterward — store it securely.

Scopes

ScopeGrants
track:writePOST events and identify calls.
track:readRead back recently ingested events.
customers:readList / fetch customer records.
customers:writeUpsert customers and their attributes.
events:readQuery the events explorer API.
campaigns:readList campaigns and read their stats.

Creating a key

  1. Go to Integrations → API keys → + New key.
  2. Pick a name and check the scopes you need.
  3. Optionally set an expiry date.
  4. Copy the value immediately — you won't see it again.

Rotating a key

Create a new key with the same scopes, deploy it to your systems, confirm traffic on the new key, then revoke the old one. Keys cannot be edited in place.

Revoking

Click Revoke next to any key. Revocation is immediate; subsequent requests return HTTP 401.

Never commit API keys to source control. Store them in a secrets manager (AWS Secrets Manager, HashiCorp Vault, Doppler, 1Password, etc.) and inject via environment variables.