Access tokens
Learn how to manage access tokens.
Last updated
Was this helpful?
Learn how to manage access tokens.
Last updated
Was this helpful?
Access tokens are essential credentials that allow an application to authenticate and access specific resources or APIs. They act as a key, providing a secure means to access server resources on behalf of the user. This section will guide you through obtaining and managing these tokens for seamless integration with our services. Access tokens ensure secure API interactions and help maintain user privacy and data integrity.
Obtaining an access token is the first critical step in integrating our services with your application. An access token is a key to authenticating your application and authorizing access to our APIs. This section will guide you through generating an access token using a simple API request, ensuring secure and seamless communication with our APIs.
Generate an access token by initiating a request using your bearer token. Replace {{access_token}}
with your actual bearer token.
Upon successful execution, you will receive a 200 OK
response with your session details and the access token, which is necessary for subsequent API calls.
Deleting an access token is essential for maintaining your application's security and efficiency. Revoking no longer needed tokens can help prevent unauthorized access to the API. This section will guide you through deleting an access token and detailing the necessary API request and the expected response.
Here are some scenarios where you should delete an access token:
You no longer need the token once you have completed all the required API calls.
To periodically refresh tokens for enhanced security, reducing the risk of token theft.
When users log out, ensure you fully terminate their session so they cannot reuse the access token without re-authentication.
To delete an access token, send a request with your bearer token included in the header. Replace {{access_token}}
with your actual token. This action will revoke the access token, effectively terminating the session.
You should receive a 200 OK
response upon successful deletion.