Skip to main content

API key

Every API request requires your Squid ID API key in the Authorization header. Keys start with sqid_.
Squid ID keys are read-only and scoped to one website. They can read that website’s identified visitor details, and nothing else. See API keys for how to disable or revoke a key.

Getting a key

1

Open the API keys settings

In your Squid ID dashboard, go to Settings → API keys. Switch to the website you want the key for using the header switcher.
2

Create a key

Click New key, name it, and copy it. The key is shown only once, so store it somewhere safe.

Example request

Treat API keys like passwords. Do not commit them to source control or expose them in client-side code. If a key leaks, revoke it in Settings → API keys and create a new one.