---
title: Accounts and identity
description: Sign in, your personal space and organizations, and what a token is bound to.
---

# Accounts and identity

Your account owns your personal space and can belong to organizations. Choose where you work before you generate: your active context determines which resources and credits your requests use.

![Your identity connects your clients to the API](../assets/art/authentication.jpg)

## Sign in

At [nolgia.ai/signin](https://nolgia.ai/signin), you can sign in with Google, Apple, email and password, or SSO for enterprise organizations.

## Personal space or one active organization

You work in your personal space or inside one active organization. `PUT /me/active-organization` switches that context; it is server state resolved on each request.

<!-- gen:endpoints paths=/me,/me/settings,/me/active-organization -->
| Method | Path | What it does |
| --- | --- | --- |
| [GET](../api/#tag/auth/get/me) | `/me` | Get the currently authenticated user. |
| [GET](../api/#tag/auth/get/me/settings) | `/me/settings` | Get the current user's notification settings. |
| [PUT](../api/#tag/auth/put/me/settings) | `/me/settings` | Update the current user's notification settings. |
| [PUT](../api/#tag/organizations/put/me/active-organization) | `/me/active-organization` | Switch the current user between their personal space and one of their organizations. |
<!-- /gen -->

<!-- gen:fields schema=User -->
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes |  |
| `email` | string | Yes |  |
| `name` | string, nullable | No |  |
| `image_url` | string, nullable | No |  |
| `created_at` | string | Yes |  |
| `organizations` | array of `UserOrganization` | No | Every organization the user belongs to, with their role. |
| `active_organization` | `UserOrganization`, nullable | No | The organization the user is currently working in, or `null` in the personal space. |
| `generation_limits` | `GenerationLimits`, nullable | No | Current shared generation concurrency across image, audio, and video. |
| `connector` | `ConnectorCredential` | No | Present only when this request authenticated with a token an OAuth connector obtained through NOLGIA's authorization server (an AI assistant connecting to mcp.nolgia.ai).… |
| `insider` | `InsiderBadge` | No | Present only when the user is an active NOLGIA Insider: the badge the app shows under the logo. Absent for everyone else. |
<!-- /gen -->

## What a token is bound to

| Credential | Context |
| --- | --- |
| Personal Access Token | Belongs to the user who created it and follows that user's active context; see [Get your API key](./authentication.html). |
| Organization API key | Belongs to the organization and stays bound to it, regardless of its creator's active context; see [Teams and organizations](./organizations.html). |

:::cards
- [Get your API key](./authentication.html) icon=spot-keys: Create a token and choose how your client signs in.
- [Teams and organizations](./organizations.html) icon=spot-organizations: Switch context and manage members, keys and shared credits.
:::
