> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anny.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Identity API

The **Identity API** handles user identity on the anny platform. It runs on a dedicated auth service (`auth.anny.co`) separate from the booking API.

Use the Identity API to:

* **Detect login method** for a domain — determine whether a user should log in with a password, SSO redirect, or another protocol before starting the auth flow
* **Update user profiles** — change name, contact details, locale, and timezone for authenticated users
* **Request account deletion** — initiate GDPR-compliant deletion for a user

***

## Authentication

All protected endpoints require a Bearer token in the `Authorization` header:

```http theme={null}
Authorization: Bearer {access_token}
```

Tokens are issued via OAuth2 or as Personal Access Tokens (PATs) from the admin dashboard.

## Related Guide

[Authentication](/developers/guides/authentication) — full guide to tokens, OAuth2 flows, and client registration.

***

## Base URLs

| Environment | URL                            |
| ----------- | ------------------------------ |
| Production  | `https://auth.anny.co`         |
| Gov-Cloud   | `https://auth.anny.eu`         |
| Staging     | `https://auth.staging.anny.co` |
