generating an api key

to generate an api key, navigate to your organization dashboard and go to settings > api keys. click "generate key", name it (e.g., "production-backend"), and copy the secret.

api keys are secrets. never share them or commit them to public repositories.

using your key

include your key in every request using the x-api-key header:

x-api-key: sp_live_your_key_here