πAuthentication Flow
These steps will help you maintain access to the API:
Make Login request, obtain
Access Token
andRefresh Token
.Store tokens securely in your application.
Use
Access Token
to access The Giving Block API endpoints. Please note that theAccess Token
has limited lifetime of 2 hours.During any request if you receive an error response with code EXPIRED_JWT_TOKEN please make a RefreshTokens request to obtain a new pair of Access and Refresh Tokens.
As a fallback or in case a Refresh Token
is lost - make a Login request again.
If you suspect that the Refresh Token
has been compromised - please contact The Giving Block (integrations@thegivingblock.com) team to revoke the Refresh Token
. Please note that Access Token
will be invalidated automatically after its expiration time.
After youβve obtained Access Token
it needs to be passed along with API requests as a header for authentication purposes.
Please see βPassing Access Tokenβ in the API reference document for more information
Last updated