Team

An Organisation's Members and Admins.

List the team

GET /v1/organisations/{organisation_id}/team-members

MCP tool
list_team read-only
Auth
Bearer token (bearerAuth)

The Organisation's Members and Admins, by email. Viewers are listed separately. Admins of the Organisation and the Platform admin only.

Parameters

NameInTypeRequiredDescription
organisation_idpathOrganisationIdyesOrganisation ID.
cursorquerystringnoThe next_cursor from the previous page. Omit it for the first page. At least 1 character.
limitqueryintegernoThe most items to return. 1 to 100. Default 50.

Responses

StatusDescriptionBody
200One page of team members.TeamMemberPage
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
404The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart.Problem

Add a team member

POST /v1/organisations/{organisation_id}/team-members

MCP tool
add_team_member not destructive
Auth
Bearer token (bearerAuth)

Adds a User to the team as a Member or an Admin, active straight away. Their User is created if the email has none yet. Admins only. A User has one Membership per Organisation, so adding someone who already has one, as a team member or a Viewer, is a conflict. Records one team_member.added audit event.

Parameters

NameInTypeRequiredDescription
organisation_idpathOrganisationIdyesOrganisation ID.

Request body

AddTeamMemberRequest, as application/json. Required.

Responses

StatusDescriptionBody
201The new team member.TeamMember
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
404The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart.Problem
409The change breaks a uniqueness rule or the resource's current state (conflict).Problem

Change a team member's Role

POST /v1/organisations/{organisation_id}/team-members/{membership_id}/role

MCP tool
change_team_member_role destructive: clients ask before running it
Auth
Bearer token (bearerAuth)

Makes a team member a Member or an Admin. Admins and the Platform admin only. A Viewer isn't on the team, so their Membership is 404. The Organisation always keeps an Admin: demoting the last one is 409 last_admin. Records one team_member.role_changed audit event with the Role before and after; giving someone the Role they already have changes nothing and records nothing.

Parameters

NameInTypeRequiredDescription
organisation_idpathOrganisationIdyesOrganisation ID.
membership_idpathMembershipIdyesThe team member's Membership.

Request body

ChangeTeamMemberRoleRequest, as application/json. Required.

Responses

StatusDescriptionBody
200The team member, with their new Role.TeamMember
400The request is malformed or fails validation (invalid_request), or an ID has the wrong prefix for its field (invalid_id). errors names each invalid field.Problem
401No valid bearer token (unauthenticated). Header WWW-Authenticate: The bearer challenge, per RFC 6750.Problem
403The caller can see the resource, but their Role doesn't allow this operation (forbidden). The attempt is audited with result=denied.Problem
404The resource doesn't exist, or the caller can't see it (not_found). The two are never told apart.Problem
409The change breaks a uniqueness rule or the resource's current state (conflict).Problem

Schemas

OrganisationId

Organisation ID.

Type: string. Exactly 18 characters. Pattern ^ORG[a-z0-9]{15}$. Example: ORG8hfaw8hfpwhjf94.

TeamMemberPage

FieldTypeRequiredDescription
itemsarray of TeamMemberyes
next_cursorstring | nullyesAn opaque cursor for the next page, or null on the last page.

CursorPage

One page of a list. A list response combines this with its own items through allOf. Pass next_cursor back as cursor to get the next page; it is null on the last page.

FieldTypeRequiredDescription
itemsarray of anyyes
next_cursorstring | nullyesAn opaque cursor for the next page, or null on the last page.

TeamMember

FieldTypeRequiredDescription
idMembershipIdyesMembership ID.
organisation_idOrganisationIdyesOrganisation ID.
user_idUserIdyesUser ID.
emailEmailyesAn email address. Compared case-insensitively, and returned in lower case.
roleTeamRoleyesA team member's Role. Viewers are not on the team.
created_atTimestampyesUTC, with milliseconds and a Z suffix.

MembershipId

Membership ID.

Type: string. Exactly 18 characters. Pattern ^MEM[a-z0-9]{15}$. Example: MEM8hfaw8hfpwhjf94.

UserId

User ID.

Type: string. Exactly 18 characters. Pattern ^USR[a-z0-9]{15}$. Example: USR8hfaw8hfpwhjf94.

Email

An email address. Compared case-insensitively, and returned in lower case.

Type: string (email). At most 254 characters. Example: jason@northgate.example.

TeamRole

A team member's Role. Viewers are not on the team.

Type: string. One of member, admin.

Timestamp

UTC, with milliseconds and a Z suffix.

Type: string (date-time). Pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$. Example: 2026-11-28T14:27:03.412Z.

Problem

An RFC 9457 problem details object, sent as application/problem+json.

FieldTypeRequiredDescription
typestring (uri-reference)yesA URI identifying the problem type. about:blank when code says enough. Example: about:blank.
titlestringyesA short, human-readable summary of the problem type. Example: Not found.
statusintegeryesThe HTTP status code. 400 to 599. Example: 404.
codestringyesA stable, snake_case machine code. Clients branch on this, never on title. Pattern ^[a-z][a-z0-9]*(_[a-z0-9]+)*$. Examples: not_found, invalid_id.
detailstringnoA human-readable explanation of this occurrence.
instancestring (uri-reference)noThe request path that produced the problem.
request_idstringyesLinks the problem to the request logs and any audit event.
started_byUplinkSessionStarternochannel_in_use only: who started the Channel's active Uplink session.
reasonstringnosession_ended only: idle (unused past its window) or signed_out (by another session, e.g. after a password change). One of idle, signed_out.
errorsarray of ProblemFieldErrornoOne entry per invalid field, for invalid_request and invalid_id.
retry_after_secondsintegernorate_limited only: how long to wait before trying again, in seconds. At least 0.

UplinkSessionStarter

Who pressed Start.

FieldTypeRequiredDescription
user_idUserIdyesUser ID.
namestringyesHow to show them. Their email, until Users have names. Example: mike@northgate.example.

ProblemFieldError

FieldTypeRequiredDescription
pointerstringnoA JSON Pointer into the request body, e.g. /first_admin_email.
parameterstringnoThe name of the path, query or header parameter, e.g. organisation_id.
detailstringyesWhat is wrong with the field.

AddTeamMemberRequest

FieldTypeRequiredDescription
emailEmailyesTheir User is created if this email has none yet.
roleTeamRoleyesA team member's Role. Viewers are not on the team.

ChangeTeamMemberRoleRequest

FieldTypeRequiredDescription
roleTeamRoleyesA team member's Role. Viewers are not on the team.