# Authorized users

If you grant Authorized Users to an endpoint, only the members you specified in your team can access it. <br>

Steps to access an API as an authorized user: <br>

1\. Log in using the credentials through `/apilogin` url by post method as shown below. Replace `your api key` with your API path and the API key. Replace `your email` with the email and `your password` with 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`<br>

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. <br>

![Create an API](https://console.hatchapps.com/documentation//assets/images/authorized_users.png)

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hatchapps.com/api-builder/permissions/authorized-users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
