> For the complete documentation index, see [llms.txt](https://mediamarkup.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mediamarkup.gitbook.io/docs/api/authentication.md).

# Authentication

The api is a REST based API that uses a Bearer token Authorization.

Each API endpoint for Users and Approvals requires an Authorization header containing the Bearer access token. Calls to endpoints without a valid token will result in a 401 Unauthorized http status code.

An access token is obtained by calling the ***/connect/token*** using the *ClientId* and *ClientSecret* for a registered account.

Once the access token is obtained this is used for all subsequent calls to the other available API endpoints.

See the list of endpoints here: <https://api.mediamarkup.com/docs/index.html>
