Skip to main content

API Key Authentication

All API requests are authenticated using the x-dolfin-api-key header. Your API key is distributed when your organisation is onboarded to the Dolfin platform.

Required Headers

Some endpoints like creating organisations and creating users are exempt from the x-dolfin-organisation-id header requirement, as they operate across organisations.

Bearer Token Authentication

End users (e.g. SMB users provisioned by your platform) authenticate using Bearer JWTs. These tokens are obtained by exchanging a short-lived auth code via the POST /v1/auth/exchange endpoint.
Bearer tokens are valid for 8 hours and contain the user’s organisation memberships and roles as claims.

Client integration guide

See the full flow for provisioning users and generating bearer tokens.