Organizations and members
Discover organizations with GET /orgs. Organization-level operations take the slug as ?org=, including POST and PATCH. Admins manage members, settings and audit; Developers invite at their role or below when enabled. Scopes never raise a role. Audit requires audit:read separately. Credentials limited to organizations or projects cannot create an organization or answer its invitations. Member details require an admin and a credential not limited to projects.
The organizations the caller can act in, by name, with their role in each. Calls in an organization take its slug as org when there is more than one
Any API key can call this.
An API key from Account settings, e.g. kn_...
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
GET /v1/orgs HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"orgs": [
{
"id": "text",
"slug": "text",
"name": "text",
"role": "admin"
}
]
}Create an organization; the caller becomes its owner and admin. A person owns up to 5. A key or connection limited to some organizations or projects can't, since it would not reach the new one.
Requires org:write (Create organizations, rename them and change their settings).
Errors specific to this operation:
400
invalid_slug: The slug is reserved or not URL-safe409
slug_taken: Another organization has that slug409
org_limit_reached: The caller already owns 5 organizations403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
Any unique string of at most 255 characters. A retry with the same key and body returns the first call's response (with Idempotent-Replayed: true) instead of acting twice; a different body is refused with 409 idempotency_conflict, and a retry while the first call is still running gets 409 request_in_progress. Keys are kept for 24 hours.
^\S+$The organization's name
Its name in URLs and as org; lowercase letters, digits and dashes. Made from the name when omitted
Created
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
The resource is in a state that does not allow the action, or an idempotency key was reused
The request body exceeds the limit given in the body
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
POST /v1/orgs HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"name": "text",
"slug": "text"
}{
"id": "text",
"slug": "text",
"name": "text",
"role": "admin",
"isOwner": true,
"settings": {
"serverlessEnabled": true,
"membersCanInvite": true
},
"frozen": true,
"createdAt": "2026-01-01T00:00:00.000Z"
}Requires account:read (View invitations and notifications addressed to the user).
An API key from Account settings, e.g. kn_...
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
GET /v1/orgs/invitations HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"invitations": [
{
"id": "text",
"org": {
"slug": "text",
"name": "text"
},
"role": "admin",
"invitedBy": {
"userId": "text",
"name": null,
"email": "text"
},
"expiresAt": "2026-01-01T00:00:00.000Z"
}
]
}Accept an invitation to an organization. The caller joins with the invited role, and is added to what the invitation named. Not for a key or connection limited to some organizations or projects.
Requires account:write (Accept or decline invitations, leave shared resources, manage notifications).
Errors specific to this operation:
409
invitation_closed: The invitation was answered, withdrawn or has expired403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
Invitation id, from the invitations the caller received
^[0-9a-fA-F]{24}$OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
The resource is in a state that does not allow the action, or an idempotency key was reused
The request body exceeds the limit given in the body
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
POST /v1/orgs/invitations/{invitationId}/accept HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"org": {
"id": "text",
"slug": "text",
"name": "text",
"role": "admin"
},
"joined": true
}Requires account:write (Accept or decline invitations, leave shared resources, manage notifications).
Errors specific to this operation:
409
invitation_closed: The invitation was answered, withdrawn or has expired403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
Invitation id, from the invitations the caller received
^[0-9a-fA-F]{24}$OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
The resource is in a state that does not allow the action, or an idempotency key was reused
The request body exceeds the limit given in the body
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
POST /v1/orgs/invitations/{invitationId}/decline HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"declined": true
}Any API key can call this.
Errors specific to this operation:
400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs
An API key from Account settings, e.g. kn_...
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
GET /v1/org HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "text",
"slug": "text",
"name": "text",
"role": "admin",
"isOwner": true,
"settings": {
"serverlessEnabled": true,
"membersCanInvite": true
},
"frozen": true,
"createdAt": "2026-01-01T00:00:00.000Z"
}Requires org:write (Create organizations, rename them and change their settings).
Errors specific to this operation:
400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
The organization's name
Developers may run apps on Kinesis serverless capacity, billed to the organization; admins always can
Developers may invite people, as developers or viewers; admins always can
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
The resource is in a state that does not allow the action, or an idempotency key was reused
The request body exceeds the limit given in the body
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
PATCH /v1/org HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"name": "text",
"serverlessEnabled": true,
"membersCanInvite": true
}{
"id": "text",
"slug": "text",
"name": "text",
"role": "admin",
"isOwner": true,
"settings": {
"serverlessEnabled": true,
"membersCanInvite": true
},
"frozen": true,
"createdAt": "2026-01-01T00:00:00.000Z"
}The organization's audit log, latest recorded first (admins). Who did what to its projects, apps, grids, servers, members and settings, kept for a year
Requires audit:read (Read the organization's audit log: who did what, with members' names and emails).
Errors specific to this operation:
400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Items per page, 1 to 200 (default 50)
nextCursor from the previous page; omit for the first page
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
GET /v1/org/audit HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"entries": [
{
"id": "text",
"at": "2026-01-01T00:00:00.000Z",
"actor": {
"userId": "text",
"name": null,
"email": "text"
},
"viaSupport": true,
"role": null,
"resourceType": "text",
"resourceId": null,
"resourceName": null,
"action": "text",
"outcome": "success",
"errorCode": null,
"details": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"changes": [
{
"path": "text",
"kind": "added",
"before": null,
"after": null,
"redacted": true
}
],
"message": null
}
],
"nextCursor": null
}The members of an organization and their roles, admins first. These are the people its projects, apps and grids can be shared with
Requires members:read (View the organization's members, their roles and pending invitations).
Errors specific to this operation:
400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs
An API key from Account settings, e.g. kn_...
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
For admins: also each member's last sign-in and what they created (lastSignInAt, created)
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
GET /v1/members HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"members": [
{
"userId": "text",
"email": "text",
"name": null,
"role": "admin",
"joinedAt": "text",
"isOwner": true,
"lastSignInAt": "2026-01-01T00:00:00.000Z",
"created": {
"projects": 1,
"apps": 1,
"grids": 1
}
}
]
}Hand the organization to another member (its owner only). They become an admin if they aren't one; the previous owner stays an admin.
Requires members:write (Invite and remove members, change their roles, transfer ownership).
Errors specific to this operation:
400
already_owner: The caller named themselves409
owner_changed: Ownership moved while this ran; read the members again409
role_changed: Their role changed, or they left, while this ran; read the members again400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
The member's user id, from the member list
^[0-9a-fA-F]{24}$OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
The resource is in a state that does not allow the action, or an idempotency key was reused
The request body exceeds the limit given in the body
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
POST /v1/members/owner HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"userId": "text"
}{
"ownerUserId": "text"
}Pending invitations to the organization, newest first. Admins see every one; a developer the ones they sent
Requires members:read (View the organization's members, their roles and pending invitations).
Errors specific to this operation:
400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
GET /v1/members/invitations HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"invitations": [
{
"id": "text",
"email": "text",
"role": "admin",
"invitedBy": {
"userId": "text",
"name": null,
"email": "text"
},
"expiresAt": "2026-01-01T00:00:00.000Z",
"expired": true,
"addsTo": [
"text"
]
}
]
}Invite someone to the organization by email, at the caller's role or below. They get a link good for 7 days; inviting an address again sends a fresh one. addTo also adds them to a project, app or grid on joining.
Requires members:write (Invite and remove members, change their roles, transfer ownership).
Also requires projects:admin (Delete projects and manage who they are shared with) when addTo.resourceType is project.
Also requires apps:admin (Delete or move apps and manage who they are shared with) when addTo.resourceType is app.
Also requires pools:admin (Delete grids and manage who they are shared with) when addTo.resourceType is grid.
Errors specific to this operation:
400
invalid_email: Not an email address403
invites_admins_only: The organization keeps inviting to its admins403
role_too_high: The role is above the caller's own409
already_member: They are in the organization already409
invitation_exists: Someone else invited them; an admin can send it again429
resend_too_soon: An invitation went to this address under a minute ago429
invitation_limit: 100 invitations are pending; revoke some first400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Who to invite
The role they join with: admin, developer or viewer
Created
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
The resource is in a state that does not allow the action, or an idempotency key was reused
The request body exceeds the limit given in the body
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
POST /v1/members/invitations HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 86
{
"email": "text",
"role": "admin",
"addTo": {
"resourceType": "project",
"resourceId": "text"
}
}{
"id": "text",
"email": "text",
"role": "admin",
"invitedBy": {
"userId": "text",
"name": null,
"email": "text"
},
"expiresAt": "2026-01-01T00:00:00.000Z",
"expired": true,
"addsTo": [
"text"
],
"warning": null
}Requires members:write (Invite and remove members, change their roles, transfer ownership).
Errors specific to this operation:
400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
Invitation id, from the organization's pending invitations
^[0-9a-fA-F]{24}$Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
The resource is in a state that does not allow the action, or an idempotency key was reused
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
DELETE /v1/members/invitations/{invitationId} HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"invitationId": "text",
"revoked": true
}Requires members:write (Invite and remove members, change their roles, transfer ownership).
Errors specific to this operation:
409
last_admin: An organization keeps at least one admin409
owner: The owner can't leave, be removed or change role until they transfer ownership409
role_changed: Their role changed, or they left, while this ran; read the members again400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
The member's user id, from the member list
^[0-9a-fA-F]{24}$Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
Their new role
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
The resource is in a state that does not allow the action, or an idempotency key was reused
The request body exceeds the limit given in the body
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
PATCH /v1/members/{userId} HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"role": "admin"
}{
"userId": "text",
"role": "admin"
}Remove a member (admins), or leave with the caller's own user id. Their access, keys and connected apps in the organization end; what they created stays and their apps keep running.
Requires members:write (Invite and remove members, change their roles, transfer ownership).
Errors specific to this operation:
409
last_admin: An organization keeps at least one admin409
owner: The owner can't leave, be removed or change role until they transfer ownership400
org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs403
key_project_restricted: The key is limited to specific projects, and this acts on the organization
An API key from Account settings, e.g. kn_...
The member's user id, from the member list
^[0-9a-fA-F]{24}$Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one
OK
The request body, query or headers are invalid (invalid_request, invalid_idempotency_key, ...)
The API key is missing, malformed, unknown, revoked or expired
The key lacks a required permission (insufficient_scope), is limited to other projects or to projects while the call acts on the organization (key_project_restricted), the caller's role on the resource is too low (forbidden), or the account is frozen
No such resource, or the caller cannot see it
The resource is in a state that does not allow the action, or an idempotency key was reused
Too many requests; see the X-RateLimit-* headers and Retry-After
Something failed on our side; the request id is in the body
A service we depend on (the runtime, GitHub) did not answer; retry shortly
The feature is not enabled on this server (github_not_configured), or a service we depend on is down; retry later
A service we depend on did not answer in time; retry shortly
DELETE /v1/members/{userId} HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"userId": "text",
"removed": true,
"warning": null
}Was this helpful?
