Skip to content

Organization & Users

MethodPathDescriptionRole
GET/api/v1/orgRead org.any
PATCH/api/v1/orgUpdate org metadata.owner, admin
GET/api/v1/org/settingsRead org settings.any
PUT/api/v1/org/settingsReplace org settings.owner, admin
POST/api/v1/org/transfer-ownershipTransfer ownership to an admin.owner
{
"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.

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.

Any signed-in member can list and read users. Adding, changing and removing users needs an owner or admin.

MethodPathDescriptionRole
GET/api/v1/usersList users. Pages with limit and offset.any
GET/api/v1/users/{id}Read a user.any
POST/api/v1/usersAdd 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-passwordSet a temporary password the user must change at next sign-in.owner, admin
POST /api/v1/users
{
"email": "[email protected]",
"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.

roleGrants
ownerNot accepted here. Use ownership transfer.
adminEverything, including users, org settings, billing, API keys, SSO and integrations. Only the owner can add or promote an admin.
memberEverything except users, org settings, billing, API keys, SSO and integrations.
viewerRead-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.

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.

These need a signed-in owner or admin. API keys cannot manage API keys.

MethodPathDescription
GET/api/v1/org/api-keysList keys, newest first. Metadata only: the key itself is never returned after creation. Pages with limit and offset.
POST/api/v1/org/api-keysCreate a key.
DELETE/api/v1/org/api-keys/{id}Delete a key. It stops working at once.
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.

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.