> For the complete documentation index, see [llms.txt](https://docs.hatchapps.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hatchapps.com/api-builder/permissions/admin.md).

# Admin

If you grant Admins to an endpoint, only the members that are an Admin on your Hatch Apps account have access. <br>

Steps to access an API as an Admin: <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/only_admin.png)
