Skip to main content

Authentication

The Settlx API uses API key authentication. Every request to a protected endpoint must include your secret API key in the Authorization header as a Bearer token.
API keys begin with pk_live_.
Never expose your API key in client-side code, browser JavaScript, mobile apps, or public repositories. All authenticated API calls must be made server-side.

Getting your API key

  1. Log in to the Settlx Dashboard
  2. Go to Settings → API Keys
  3. Click Create API Key
  4. Copy the key immediately — it is shown only once and cannot be retrieved again
Store the key in an environment variable. Do not commit it to source control.

Example requests


Key management

Revoked keys are rejected immediately. There is no grace period.
If you suspect your API key has been compromised, revoke it immediately from the dashboard and generate a new one.

Public endpoints

The following endpoints do not require authentication and are safe to call from a browser or mobile client:

Authentication errors