Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

get

Any API key can call this.

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Responses
200

OK

application/json
get/orgs
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.

post

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-safe

  • 409 slug_taken: Another organization has that slug

  • 409 org_limit_reached: The caller already owns 5 organizations

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Header parameters
Idempotency-Keystring · min: 1 · max: 255Optional

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.

Pattern: ^\S+$
Body
namestring · min: 1 · max: 80Required

The organization's name

slugstring · min: 3 · max: 39Optional

Its name in URLs and as org; lowercase letters, digits and dashes. Made from the name when omitted

Responses
201

Created

application/json
post/orgs
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"
}

Open invitations to join an organization, addressed to the caller's email

get

Requires account:read (View invitations and notifications addressed to the user).

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Responses
200

OK

application/json
get/orgs/invitations
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.

post

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 expired

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Path parameters
invitationIdstringRequired

Invitation id, from the invitations the caller received

Pattern: ^[0-9a-fA-F]{24}$
Responses
200

OK

application/json
post/orgs/invitations/{invitationId}/accept
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
}

Decline an invitation to an organization. Its link stops working

post

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 expired

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Path parameters
invitationIdstringRequired

Invitation id, from the invitations the caller received

Pattern: ^[0-9a-fA-F]{24}$
Responses
200

OK

application/json
post/orgs/invitations/{invitationId}/decline
POST /v1/orgs/invitations/{invitationId}/decline HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "declined": true
}

An organization's settings, whether it is frozen, and the caller's role in it

get

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

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Responses
200

OK

application/json
get/org
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"
}

Rename an organization or change its settings (admins). Its slug never changes

patch

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 slugs

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Body
namestring · min: 1 · max: 80Optional

The organization's name

serverlessEnabledbooleanOptional

Developers may run apps on Kinesis serverless capacity, billed to the organization; admins always can

membersCanInvitebooleanOptional

Developers may invite people, as developers or viewers; admins always can

Responses
200

OK

application/json
patch/org
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

get

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 slugs

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

limitinteger · min: 1 · max: 200Optional

Items per page, 1 to 200 (default 50)

cursorstring · min: 1 · max: 512Optional

nextCursor from the previous page; omit for the first page

Responses
200

OK

application/json
get/org/audit
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

get

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

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

detailsbooleanOptional

For admins: also each member's last sign-in and what they created (lastSignInAt, created)

Responses
200

OK

application/json
get/members
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.

post

Requires members:write (Invite and remove members, change their roles, transfer ownership).

Errors specific to this operation:

  • 400 already_owner: The caller named themselves

  • 409 owner_changed: Ownership moved while this ran; read the members again

  • 409 role_changed: Their role changed, or they left, while this ran; read the members again

  • 400 org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Body
userIdstringRequired

The member's user id, from the member list

Pattern: ^[0-9a-fA-F]{24}$
Responses
200

OK

application/json
post/members/owner
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

get

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

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Responses
200

OK

application/json
get/members/invitations
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.

post

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 address

  • 403 invites_admins_only: The organization keeps inviting to its admins

  • 403 role_too_high: The role is above the caller's own

  • 409 already_member: They are in the organization already

  • 409 invitation_exists: Someone else invited them; an admin can send it again

  • 429 resend_too_soon: An invitation went to this address under a minute ago

  • 429 invitation_limit: 100 invitations are pending; revoke some first

  • 400 org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Body
emailstring · min: 1 · max: 320Required

Who to invite

rolestring · enumRequired

The role they join with: admin, developer or viewer

Possible values:
Responses
201

Created

application/json
post/members/invitations
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
}

Withdraw a pending invitation to the organization. Its link stops working

delete

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 slugs

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Path parameters
invitationIdstringRequired

Invitation id, from the organization's pending invitations

Pattern: ^[0-9a-fA-F]{24}$
Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Responses
200

OK

application/json
delete/members/invitations/{invitationId}
DELETE /v1/members/invitations/{invitationId} HTTP/1.1
Host: api.kinesis.network
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "invitationId": "text",
  "revoked": true
}

Change a member's role (admins). Their invitations above the new role are withdrawn

patch

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 admin

  • 409 owner: The owner can't leave, be removed or change role until they transfer ownership

  • 409 role_changed: Their role changed, or they left, while this ran; read the members again

  • 400 org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Path parameters
userIdstringRequired

The member's user id, from the member list

Pattern: ^[0-9a-fA-F]{24}$
Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Body
rolestring · enumRequired

Their new role

Possible values:
Responses
200

OK

application/json
patch/members/{userId}
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.

delete

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 admin

  • 409 owner: The owner can't leave, be removed or change role until they transfer ownership

  • 400 org_required: The caller reaches more than one organization and named none; details.orgs lists their slugs

  • 403 key_project_restricted: The key is limited to specific projects, and this acts on the organization

Authorizations
AuthorizationstringRequired

An API key from Account settings, e.g. kn_...

Path parameters
userIdstringRequired

The member's user id, from the member list

Pattern: ^[0-9a-fA-F]{24}$
Query parameters
orgstring · min: 3 · max: 39Optional

Slug of the organization to act in, from the caller's organizations; needed when the caller reaches more than one

Responses
200

OK

application/json
delete/members/{userId}
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?