Comment on page
These steps will help you maintain access to the API:
- 1.Make Login request, obtain
- 2.Store tokens securely in your application.
Access Tokento access The Giving Block API endpoints. Please note that the
Access Tokenhas limited lifetime of 2 hours.
- 4.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 Tokenis lost - make a Login request again.
If you suspect that the
Refresh Tokenhas been compromised - please contact The Giving Block ([email protected]) team to revoke the
Refresh Token. Please note that
Access Tokenwill be invalidated automatically after its expiration time.
After you’ve obtained
Access Tokenit needs to be passed along with API requests as a header for authentication purposes.