- Create Your Auth Tokens: In your organization page, create your auth tokens in order to obtain your
client_idandclient_secret. - Request an access token: Using your
client_idandclient_secret, make a request to the token endpoint as follows:- URL:
https://human-artistree-prod.auth.us-east-1.amazoncognito.com - Endpoint:
/oauth2/token - Method:
POST - Content-Type:
application/x-www-form-urlencoded - Body Parameters:
grant_type: Set toclient_credentialsclient_id: Your client IDclient_secret: Your client secret
- URL:
Example Request
Example Response
JSON
- Use the access token: Include the
access_tokenin theAuthorizationheader of your API requests as follows:
HTTP