Skip to main content
The Replyful API uses bearer-token authentication. Every request (except /health) must include an Authorization header carrying a valid API key.

Create an API key

  1. Open the Replyful dashboard.
  2. Navigate to Settings → Developers → API keys.
  3. Click Create key, give it a descriptive name (e.g. “Production webhook handler”), and pick a mode.
  4. Copy the token immediately and store it in your secret manager.
The plaintext token is shown once at creation. Replyful only stores a SHA-256 hash, so we cannot recover or display the token after the modal closes. If you lose it, archive the key and create a new one.

Key modes

Each key is created in one of two modes, identifiable from the prefix: Every key belongs to exactly one organization. Cross-organization access is impossible by construction — a key only ever sees data from the org it was created in.

Use the key

Send the token in the Authorization header on every request, prefixed with Bearer :

Security best practices

Never embed an API key in browser code, mobile apps, public repositories, or URL query strings. A leaked key gives full read access to your organization’s data until it is archived.
  1. Server-side only. Call the API from your backend. Never ship a key to a browser or mobile bundle.
  2. Use environment variables. Read the key from process.env (or your secret manager). Never hardcode it.
  3. Header, not URL. Bearer tokens belong in the Authorization header — never in a query string, where they end up in access logs and referrer headers.
  4. Rotate on suspicion. Keys can be archived from the dashboard. Create a new one, deploy it, then archive the old one.
  5. One key per integration. Use separate keys for separate consumers so you can rotate or revoke them independently.

Authentication errors

Authentication failures return HTTP 401 with a consistent envelope:
See Errors for the full error envelope reference.