Skip to main content

Obtaining your API key

API keys authenticate requests to the endpoints. They are static credentials tied to a user account. Contact SquadAssist to obtain an API key for your account.

Sending your API key

You can pass the API key in either of two ways. Both are accepted on every endpoint.
The x-api-key header is the recommended style for server-to-server requests as it avoids ambiguity with JWT Bearer tokens.
API keys are sensitive credentials. Never expose them in client-side code, commit them to version control, or log them. Store them in environment variables or a secrets manager.

Authentication errors

Both authentication methods return the same HTTP status codes when credentials are missing or invalid. If you receive a 403 with an account access denied message, contact SquadAssist to review your account status or plan.