Prerequisites
Before starting the OAuth flow, you must register an OAuth application in the EffiLink platform. Registration provides you with three credentials you will need throughout the flow:Authorization flow
1
Build the authorization URL
Direct the user to EffiLink’s authorization endpoint. They will see an EffiLink-hosted page asking them to approve or deny access to your application.After the user approves, EffiLink redirects them to your
Example request:
redirect_uri with an authorization code appended as a query parameter:2
Exchange the code for an access token
Call the token endpoint with the authorization code to receive an access token.Example response:Response fields:
Example request:
3
Use the access token in API requests
Add the The
OAuth header to every API request, using the access token obtained in Step 2.OAuth header must be present on every request that requires user-level authorization. Requests with a missing or invalid token will receive a 401 Unauthorized response.Token expiry and renewal
By default, EffiLink access tokens are permanent (expiresIn: -1). If a token is close to expiring (less than 5 minutes remaining), you can generate a new token by repeating the authorization flow. During the brief overlap period, both the old and the new token are valid simultaneously, allowing you to rotate tokens without downtime.