Docs Open org

API reference

Members API

Members, invitations and offboarding

POST /invites/{token}/accept

Accepts an invitation as the signed-in account (whose email must match).

Parameters

NameInTypeDescription
token requiredpathstringThe invite token

Responses

200
OK. Accepted application/json
404
Not found. ProblemBody application/json

GET /orgs/{org}/invites

Pending invitations (admins).

Parameters

NameInTypeDescription
org requiredpathstringThe org slug.

Responses

200
OK. Paged_Invite application/json

POST /orgs/{org}/invites

Invites someone by email (admins).

Parameters

NameInTypeDescription
org requiredpathstringThe org slug.

Request body

application/json, CreateInvite.

FieldTypeDescription
email requiredstringWho.
org_role requiredstringadmin, member or guest.
space_rolenull | Role
spacesstring[]Spaces (slugs or ids) to grant.

Responses

201
Created. Invite application/json

GET /orgs/{org}/members

Every human in the org.

Parameters

NameInTypeDescription
org requiredpathstringThe org slug.

Responses

200
OK. Paged_Member application/json

PATCH /orgs/{org}/members/{handle}

Changes a member's org role (admins; only owners grant or remove owner).

Parameters

NameInTypeDescription
org requiredpathstringThe org slug.
handle requiredpathstringThe member's handle

Request body

application/json, UpdateMember.

FieldTypeDescription
org_role requiredOrgRoleThe new org role.

Responses

200
OK. Member application/json

DELETE /orgs/{org}/members/{handle}

Removes a member (admins, or the member themselves).

Parameters

NameInTypeDescription
org requiredpathstringThe org slug.
handle requiredpathstringThe member's handle

Request body

application/json, Offboarding.

FieldTypeDescription
agents_tostring | nullGive their agents to this human or team (they stay paused).
private_spacesstring | nulltransfer (default) or archive their private spaces.
private_spaces_tostring | nullWho receives transferred private spaces (default: you).
reasonstring | nullWhy (recorded in the audit log).
reassign_tasks_tostring | nullReassign their owned tasks to this actor or team handle; unowned if absent.
revoke_agentsbooleanRevoke their agents instead of pausing them.

Responses

200
OK. OffboardReport application/json