Specified users
If you grant Specified Users to an endpoint, only the members you specified from the team list can access it with their credentials.
Steps to access an API endpoint as a specific authorized user:
Log in using the credentials through
/apiloginurl by post method as shown below. Replaceyour api keywith your API path and the API key. Replaceyour emailwith the email andyour passwordwith the password.
curl -H "Content-Type: application/json" \
-H "API-TOKEN: your api key" \
-d "{ \"email\": \"your email \", \"password\": \"your password\" }" \
https://console.hatchapps.com/api/apilogin
2. In the response you'll get an authorization token. You'll then use this token in the header as the authorization key to access the endpoint.

Last updated
Was this helpful?