Authentication
Exploring this documentation you will see blocks with information about authentication at the description of endpoints.
Protected endpoints have the following block:
- Authentication
This method requires authentication.
To make requests to protected endpoints you first need to get authentication token with Authorize partner with login and password or Create new token.
When you have valid token, you have to pass it with your request as header named 'token'. Here you can see examples of request:
curl 'https://partner.anymaster.com/auth/me' \
-H 'accept: */*' \
-H 'content-type: application/json;charset=UTF-8' \
-H 'token: your-token'
const { get } = require('axios');
const url = 'https://partner.anymaster.com/auth/me';
const options = { headers: { token: 'your-token' } };
get(url, options)
.then(res => {})
.catch(err => {});
Last modified: 09 February 2024