To access the Ans API V2, you'll first need to create a token.
To create a token, follow the steps below.
- Click the following link https://ans.app/users/tokens.
- Click on Generate new token.
- A new dialogue will open containing the token.
- This token is used to authorize requests through the Ans API V2.
The provided token is a Bearer token and needs to be set in the Request Header with key Authorization and value "Bearer [token]" for every request. The API V2 also supports authentication via OAuth2, however this is only used for integrations. The provided token can only be used with the Ans V2 API. Additional information can be found in the documentation.
error_outline The generated token is only shown once. If you lose it, you will need to generate a new one.
Please sign in to leave a comment.