Organization & Users
Organization endpoints
Section titled “Organization endpoints”| Method | Path | Description | Role |
|---|---|---|---|
GET | /api/v1/org | Read org. | any |
PATCH | /api/v1/org | Update org metadata. | owner, admin |
GET | /api/v1/org/settings | Read org settings. | any |
PUT | /api/v1/org/settings | Replace org settings. | owner, admin |
POST | /api/v1/org/transfer-ownership | Transfer ownership to an admin. | owner |
Org document
Section titled “Org document”{ "id": "01HXORG...", "slug": "example", "name": "Example, Inc.", "plan": "pro", "seat_count": 23, "created_at": "2024-06-01T00:00:00Z"}The slug is immutable; it’s the prefix on public URLs (status pages, event-ingest tokens). Contact support to change it.
Settings
Section titled “Settings”Org settings hold broad configuration: notification defaults, retention windows, SSO options, CloudEvents ingest auth (the last two on YipYap Cloud only). Read the full document with GET /org/settings, replace wholesale with PUT.
User endpoints
Section titled “User endpoints”Any signed-in member can list and read users. Adding, changing and removing users needs an owner or admin.
| Method | Path | Description | Role |
|---|---|---|---|
GET | /api/v1/users | List users. Pages with limit and offset. | any |
GET | /api/v1/users/{id} | Read a user. | any |
POST | /api/v1/users | Add a user with a password you choose. | owner, admin |
PATCH | /api/v1/users/{id} | Update a user’s name, email, phone or role. | owner, admin |
DELETE | /api/v1/users/{id} | Remove a user. | owner, admin |
POST | /api/v1/users/{id}/reset-password | Set a temporary password the user must change at next sign-in. | owner, admin |
Add a user
Section titled “Add a user”POST /api/v1/users{ "name": "New Person", "password": "a-password-you-share-securely", "role": "member"}email and password are required, and the password must be at least 8 characters. role defaults to member. name and phone are optional. No email is sent: share the password with the person yourself and ask them to change it after they sign in. The address is treated as verified.
role | Grants |
|---|---|
owner | Not accepted here. Use ownership transfer. |
admin | Everything, including users, org settings, billing, API keys, SSO and integrations. Only the owner can add or promote an admin. |
member | Everything except users, org settings, billing, API keys, SSO and integrations. |
viewer | Read-only. May acknowledge alerts paged or routed to them. Other writes return 403. |
On the Free plan, adding a sixth user returns 403. On paid plans each user adds a seat to the subscription.
The owner cannot be removed, demoted or given a reset password, and you cannot remove yourself.
Reset a password
Section titled “Reset a password”POST /api/v1/users/{id}/reset-password{ "temporary_password": "a-temporary-password" }The user must choose a new password the next time they sign in.
API key endpoints
Section titled “API key endpoints”These need a signed-in owner or admin. API keys cannot manage API keys.
| Method | Path | Description |
|---|---|---|
GET | /api/v1/org/api-keys | List keys, newest first. Metadata only: the key itself is never returned after creation. Pages with limit and offset. |
POST | /api/v1/org/api-keys | Create a key. |
DELETE | /api/v1/org/api-keys/{id} | Delete a key. It stops working at once. |
Create a key
Section titled “Create a key”POST /api/v1/org/api-keys{ "name": "CI pipeline", "scopes": ["monitors", "alerts"]}name is required. scopes is optional; leave it out for an unrestricted key. See Authentication: Scopes.
Response 201 Created:
{ "key": "yy_0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef", "id": "2c7e9a14-5b3f-4d8e-a1c6-0f9b8e7d6c5a", "name": "CI pipeline", "prefix": "yy_01234567", "scopes": ["monitors", "alerts"], "created": "2026-04-24T17:42:03Z"}The full key is returned once. Store it right away; it cannot be retrieved later. prefix is the key’s first 11 characters, which the list shows so you can tell keys apart. New keys expire after 90 days unless you choose another date or no expiry (see API Keys). Delete a key to revoke it before then. See Authentication: Key format for the pattern secret scanners should match.
Ownership transfer
Section titled “Ownership transfer”POST /api/v1/org/transfer-ownership
{ "user_id": "2c7e9a14-5b3f-4d8e-a1c6-0f9b8e7d6c5a", "current_password": "your-password", "mfa_code": "123456"}Only the current owner, signed in, can call this. user_id must be an admin in the org. current_password is the owner’s password; mfa_code is required when the owner has MFA on. A wrong password or code returns 401.
The current owner becomes an admin and the named user becomes owner. To undo it, the new owner transfers ownership back.
Related resources
Section titled “Related resources”- Teams: team management.
- Integrations → API Keys: setup guide and scope reference.