Skip to main content
Fluide Connect uses a two-step model: exchange your developer API key and secret for a short-lived JWT, then call product APIs with the JWT and your API key.

Prerequisites

You already have a verified developer account and API credentials from the Connect dashboard (API Keys):
  • apiKey — e.g. fl_dev_...
  • apiSecret — shown once at provisioning; store it in your secret manager
If you need to view or rotate credentials, sign in to Connect. The API secret is never returned again from GET /api/v1/authorize/current.

Exchange key + secret for an access token

Send your credentials only to the token endpoint. Never include the secret on HR, payroll, payments, or other product routes.

API reference — POST /authorize/token

Interactive playground, request headers, and response schema.
Response (abbreviated):
Use the API secret only for token exchange. Never send it on product API routes.

Test in the API playground

Every product endpoint in API reference includes an interactive playground. Requests without the right headers are rejected — you will see Authorization field missing or 401 if any are omitted.
1

Exchange a token first

Run the token exchange above (curl or Node.js). Copy the accessToken value.
2

Click Authorize on a product endpoint

Open any HR, Payroll, Pay, Books, or Utils endpoint and click Authorize. Fill in all three fields:
3

Send the request

Click Send. Health checks such as GET /api/v1/hr/health use the same headers as business endpoints — there is no anonymous access.
X-Fluide-Client-Id must match the client ID embedded in your access token (fluide-developer). X-Fluide-Api-Key must match the API key bound to that token.

Call Fluide APIs

Send both the Bearer token and your API key on every product request.
Cache the accessToken until exp and refresh before it expires. See First request for an end-to-end walkthrough.
For organization vs partner (multi-merchant) tenancy, see Multi-tenancy.

Partner acting-client headers (ISV / multi-merchant)

When you integrate many end-customers under your service partner org, product APIs need two extra headers on top of Bearer + API key: In the API reference playground, these appear as optional header parameters on HR, Payroll, Pay, Books, and Utils endpoints — fill them in per request when scoping to a merchant. Direct single-org integrations can omit them.

Rotate credentials

If a secret is exposed, rotate it from the Connect dashboard or with a valid Bearer session:
Update your integration and exchange a new token with the new secret.