# IdentityHound docs > Every page of the IdentityHound docs, with each API reference page's operations. https://agentpost.tools/llms.txt lists every section of Agentpost's docs. Read any page as Markdown: add `.md` to its address, such as https://agentpost.tools/docs/platform/quickstart.md, or ask for it with `Accept: text/markdown`. Each Markdown page starts with YAML that gives its title, description, address, kind, and what it needs. https://agentpost.tools/llms-full.txt is every page in one file. OpenAPI description of the section's API, for tools that build or check requests: https://agentpost.tools/docs/identityhound/openapi.json - [IdentityHound](https://agentpost.tools/docs/identityhound.md): Learn what IdentityHound does for your product, when it fits, how you adopt it, and where to start. - [IdentityHound quickstart](https://agentpost.tools/docs/identityhound/quickstart.md): Configure IdentityHound's roles and resources for your project, sign a principal in with an emailed code, and check what it may do, through HTTP or the SDK. ## Concepts - [Principals](https://agentpost.tools/docs/identityhound/concepts/principals.md): Learn what an IdentityHound principal is, the kind it may declare, its ways to sign in, what creating one answers with, who manages it and its API keys, what suspending or deleting it stops, and how guests differ. - [Sessions](https://agentpost.tools/docs/identityhound/concepts/sessions.md): Learn what an IdentityHound session is, how a sign-in starts one, how long it lasts, what ends it, and how the user tokens and delegated tokens that come from it relate to it. - [IdentityHound workspaces](https://agentpost.tools/docs/identityhound/concepts/workspaces.md): Learn what an IdentityHound workspace is, how members, their roles, and invitations relate to it, and the rules that keep every workspace with an owner. - [Roles](https://agentpost.tools/docs/identityhound/concepts/roles.md): Learn how IdentityHound's roles grant permissions on your product's resources, the three places a role can be held, what the built-in owner role may do, the admin and member roles a project starts with, and how permissions and wildcards are written. - [Entitlements](https://agentpost.tools/docs/identityhound/concepts/entitlements.md): Learn how IdentityHound's entitlements record what a principal has been given, such as a plan or one feature, how bundles and grants deliver them to a principal, a workspace, every guest, or every principal that is not a guest, and how access checks require them. - [Delegations](https://agentpost.tools/docs/identityhound/concepts/delegations.md): Learn how an IdentityHound delegation lets one principal act for another within listed permissions, how it is requested and approved, how delegated tokens come from it, and what ends it. - [Access checks](https://agentpost.tools/docs/identityhound/concepts/access-checks.md): Learn how IdentityHound decides whether a principal may take an action on a resource, the order it checks things in, what each answer carries, and who may ask about whom. - [Change feed](https://agentpost.tools/docs/identityhound/concepts/change-feed.md): Learn what IdentityHound's change feed records, who may read it, and how its cursors, ordering, and retention work. ## Guides - [Add email sign-in](https://agentpost.tools/docs/identityhound/guides/email-sign-in.md): Add IdentityHound's email sign-in component to a React or Web Components app, so a principal signs in with a 6-digit emailed code and the browser keeps its session. - [Keep the session on your server](https://agentpost.tools/docs/identityhound/guides/server-session.md): Make your web app's server check IdentityHound sign-in codes and keep each principal's session in an HTTP-only cookie, on the page's own origin or an API on another origin of the same site, so the page's JavaScript never holds the session token. - [Invite someone to a workspace](https://agentpost.tools/docs/identityhound/guides/invitations.md): Invite a principal into an IdentityHound workspace by email, preview the invitation before it signs in, and accept it with its session. - [Grant a plan](https://agentpost.tools/docs/identityhound/guides/grants.md): Define a plan as an IdentityHound bundle of entitlements, grant it to a workspace exactly once per order, and see the access checks that need it start to allow. - [Let one principal act for another](https://agentpost.tools/docs/identityhound/guides/agents.md): Create an IdentityHound principal with its own API key, have another principal approve the delegation it requests, and act for that principal within exactly the permissions it approved. - [Sync records with the change feed](https://agentpost.tools/docs/identityhound/guides/change-feed.md): Keep local IdentityHound event records in step by loading a saved cursor, processing each page safely on a retry, and saving the next cursor before reading again. - [Send security notices](https://agentpost.tools/docs/identityhound/guides/security-notices.md): Tell a principal by email when a way to sign in is added, a provider is connected, an API key is created or rotated, or two accounts merge, with your own wording, from IdentityHound's change feed. ## SDK - [IdentityHound SDK](https://agentpost.tools/docs/identityhound/sdk.md): Learn what the IdentityHound SDK's packages and entry points hold, which client to create on your server and which in a browser or phone app, and where each part is described. - [Clients](https://agentpost.tools/docs/identityhound/sdk/clients.md): Create the IdentityHound SDK's API client on your server, or its identity client in a browser or phone app, and use its methods, credentials, per-call options, and errors. - [Session strategies](https://agentpost.tools/docs/identityhound/sdk/session-strategies.md): Choose where the IdentityHound SDK keeps a principal's session, on your server with serverSession, in the client with deviceSession, or with your own strategy, and learn what each one exposes to the page. - [Native apps](https://agentpost.tools/docs/identityhound/sdk/native-apps.md): Sign principals in from an Expo or React Native app with the SDK's workflows and React hooks, keeping the session in the keychain with expo-secure-store and signing in with a provider through expo-web-browser. - [Server helpers](https://agentpost.tools/docs/identityhound/sdk/server.md): Find out who a request acts for on your server with the IdentityHound SDK's createVerifier, and keep each principal's session in an HTTP-only cookie with createSessions and errorBody. ### Components - [Email sign-in component](https://agentpost.tools/docs/identityhound/components/email-sign-in.md): Look up IdentityHound's email sign-in component, which signs a principal in with a 6-digit emailed code in React or as Web Components: its setup, props, parts, events, agent actions with their outcomes, and tested example. ## API reference - [IdentityHound API reference](https://agentpost.tools/docs/identityhound/reference.md): Find any IdentityHound API operation by resource, with who may call it and the rules every operation follows. - [IdentityHound API: Config](https://agentpost.tools/docs/identityhound/reference/config.md): Get the config, replace the config, or validate a config, with the IdentityHound API. - `GET /config`: Get the config - `PUT /config`: Replace the config - `POST /config/validate`: Validate a config - [IdentityHound API: Sign-in](https://agentpost.tools/docs/identityhound/reference/auth.md): Send a sign-in code, verify a sign-in code, start an OAuth flow, finish an OAuth flow, start a guest session, sign out, or introspect a token, with the IdentityHound API. - `POST /auth/email-code`: Send a sign-in code - `POST /auth/email-code/verify`: Verify a sign-in code - `POST /auth/oauth/:providerKey/start`: Start an OAuth flow - `POST /auth/oauth/:providerKey/callback`: Finish an OAuth flow - `POST /auth/guest`: Start a guest session - `POST /auth/sign-out`: Sign out - `POST /auth/introspect`: Introspect a token - [IdentityHound API: The signed-in principal](https://agentpost.tools/docs/identityhound/reference/me.md): Get the signed-in principal, update the signed-in principal, list sign-in identities, send a code to add an email, verify an added email, remove a sign-in identity, list sessions, end a session, end other sessions, merge a guest, or merge another account, with the IdentityHound API. - `GET /me`: Get the signed-in principal - `PATCH /me`: Update the signed-in principal - `GET /me/identities`: List sign-in identities - `POST /me/identities/email`: Send a code to add an email - `POST /me/identities/email/verify`: Verify an added email - `DELETE /me/identities/:id`: Remove a sign-in identity - `GET /me/sessions`: List sessions - `DELETE /me/sessions/:id`: End a session - `DELETE /me/sessions`: End other sessions - `POST /me/merge-guest`: Merge a guest - `POST /me/merge`: Merge another account - [IdentityHound API: Principals](https://agentpost.tools/docs/identityhound/reference/principals.md): List principals, import principals, create a principal, get a principal, list a principal's identities, list a principal's sessions, get a session, update a principal, suspend a principal, reactivate a principal, or delete a principal, with the IdentityHound API. - `GET /principals`: List principals - `POST /principals/import`: Import principals - `POST /principals`: Create a principal - `GET /principals/:id`: Get a principal - `GET /principals/:id/identities`: List a principal's identities - `GET /principals/:id/sessions`: List a principal's sessions - `GET /sessions/:id`: Get a session - `PATCH /principals/:id`: Update a principal - `POST /principals/:id/suspend`: Suspend a principal - `POST /principals/:id/reactivate`: Reactivate a principal - `DELETE /principals/:id`: Delete a principal - [IdentityHound API: API keys](https://agentpost.tools/docs/identityhound/reference/api-keys.md): Create an API key, list API keys, rotate an API key, or revoke an API key, with the IdentityHound API. - `POST /principals/:id/api-keys`: Create an API key - `GET /principals/:id/api-keys`: List API keys - `POST /api-keys/:id/rotate`: Rotate an API key - `DELETE /api-keys/:id`: Revoke an API key - [IdentityHound API: Connected accounts](https://agentpost.tools/docs/identityhound/reference/connections.md): List connected accounts, remove a connected account, or get a provider access token, with the IdentityHound API. - `GET /principals/:id/connections`: List connected accounts - `DELETE /connections/:id`: Remove a connected account - `POST /connections/:id/token`: Get a provider access token - [IdentityHound API: Workspaces](https://agentpost.tools/docs/identityhound/reference/workspaces.md): Create a workspace, list workspaces, get a workspace, update a workspace, archive a workspace, or leave a workspace, with the IdentityHound API. - `POST /workspaces`: Create a workspace - `GET /workspaces`: List workspaces - `GET /workspaces/:id`: Get a workspace - `PATCH /workspaces/:id`: Update a workspace - `POST /workspaces/:id/archive`: Archive a workspace - `POST /workspaces/:id/leave`: Leave a workspace - [IdentityHound API: Members](https://agentpost.tools/docs/identityhound/reference/members.md): List members, add a member, update a member, or remove a member, with the IdentityHound API. - `GET /workspaces/:id/members`: List members - `POST /workspaces/:id/members`: Add a member - `PATCH /workspaces/:id/members/:memberId`: Update a member - `DELETE /workspaces/:id/members/:memberId`: Remove a member - [IdentityHound API: Invitations](https://agentpost.tools/docs/identityhound/reference/invitations.md): Create an invitation, list invitations, resend an invitation, revoke an invitation, preview an invitation, or accept an invitation, with the IdentityHound API. - `POST /workspaces/:id/invitations`: Create an invitation - `GET /workspaces/:id/invitations`: List invitations - `POST /invitations/:id/resend`: Resend an invitation - `DELETE /invitations/:id`: Revoke an invitation - `POST /invitations/preview`: Preview an invitation - `POST /invitations/accept`: Accept an invitation - [IdentityHound API: Project roles](https://agentpost.tools/docs/identityhound/reference/project-roles.md): Assign a project role or remove a project role, with the IdentityHound API. - `POST /principals/:id/project-roles`: Assign a project role - `DELETE /principals/:id/project-roles/:role`: Remove a project role - [IdentityHound API: Resource roles](https://agentpost.tools/docs/identityhound/reference/resource-roles.md): Assign a resource role, list resource roles, or remove a resource role, with the IdentityHound API. - `POST /resource-roles`: Assign a resource role - `GET /resource-roles`: List resource roles - `DELETE /resource-roles/:id`: Remove a resource role - [IdentityHound API: Bundles](https://agentpost.tools/docs/identityhound/reference/bundles.md): Create a bundle, list bundles, get a bundle, update a bundle, or retire a bundle, with the IdentityHound API. - `POST /bundles`: Create a bundle - `GET /bundles`: List bundles - `GET /bundles/:key`: Get a bundle - `PATCH /bundles/:key`: Update a bundle - `POST /bundles/:key/retire`: Retire a bundle - [IdentityHound API: Grants](https://agentpost.tools/docs/identityhound/reference/grants.md): Create a grant, list grants, get a grant, or revoke a grant, with the IdentityHound API. - `POST /grants`: Create a grant - `GET /grants`: List grants - `GET /grants/:id`: Get a grant - `POST /grants/:id/revoke`: Revoke a grant - [IdentityHound API: Entitlements](https://agentpost.tools/docs/identityhound/reference/entitlements.md): Check an entitlement or list entitlements, with the IdentityHound API. - `POST /entitlements/check`: Check an entitlement - `GET /entitlements`: List entitlements - [IdentityHound API: Delegations](https://agentpost.tools/docs/identityhound/reference/delegations.md): Create a delegation, request a delegation, list delegations, get a delegation, approve a delegation, deny a delegation, revoke a delegation, or get a delegated token, with the IdentityHound API. - `POST /delegations`: Create a delegation - `POST /delegations/requests`: Request a delegation - `GET /delegations`: List delegations - `GET /delegations/:id`: Get a delegation - `POST /delegations/:id/approve`: Approve a delegation - `POST /delegations/:id/deny`: Deny a delegation - `DELETE /delegations/:id`: Revoke a delegation - `POST /delegations/:id/tokens`: Get a delegated token - [IdentityHound API: Access checks](https://agentpost.tools/docs/identityhound/reference/access.md): Check access, check access in a batch, or list permissions on a resource, with the IdentityHound API. - `POST /access/check`: Check access - `POST /access/check-batch`: Check access in a batch - `GET /access/permissions`: List permissions on a resource - [IdentityHound API: Change feed](https://agentpost.tools/docs/identityhound/reference/events.md): Read the change feed, with the IdentityHound API. - `GET /events`: Read the change feed - [IdentityHound errors](https://agentpost.tools/docs/identityhound/errors.md): Look up an IdentityHound error code or access-check reason to learn what it means and what to do next.