API endpoint access require an authentication from the user or the app. Authentication requires an access token, which can be a Bearer token or an Authorization token. The Bearer token of your App can be obtained or regenerated from the App configuration page. Authorization tokens, allowing to make call on behalf of user can be obtained following the OAuth2.0 flow.
Note that if your App use proxy user accounts, you will received Bearer tokens associated with the proxy account and not Authorization tokens.
Once you get an access token, you can use it to make API endpoint calls by providing it in the Authorization
header:
curl --location --request GET 'https://{{AWRD_API_URL}}/v1/user/me' \
--header 'Authorization: {{TOKEN_TYPE}} {{ACCESS_TOKEN}}'
Here is are example for Bearer and Authorization tokens:
curl --location --request GET 'https://{{AWRD_API_URL}}/v1/user/me' \
--header 'Authorization: Bearer MTIzOkJZazd4SkVYMlg3U0MxTnZxUnN0NzA3OEUwZlNoNDRBNHBzZGlUdE4='
curl --location --request GET 'https://{{AWRD_API_URL}}/v1/user/me' \
--header 'Authorization: Authorization MTIzOjhYNVRuYmtyaURXekZoa09nUzM2Njg5WGxuWVFQdnE3NmhQSVc1Tjc='