Skip to content

ReferenceWorkspace

Members

Members are the people on your team who use the workspace, each with one of six roles: owner, admin, analyst (reviews and decides cases), developer (keys, webhooks and API logs), viewer (reads) or billing. Invite people, change their roles, remove them, and see how each one signs in.

Updated

Ask about this pageRead this page as Markdown

The member object

  • idstring

    The member’s id, starting with mem_. Use it to give a case to someone.

  • namestring

    Their name.

  • emailstring

    The address they sign in with.

  • roleenum

    owner, admin, analyst, developer, viewer or billing. A workspace has one owner.

List the members

Reads only

GET/v1/members

Everyone on the workspace’s team, with their role.

Who may
Every member, for themselves
CLI
kontiga members list
MCP tool
list_members
Returns
The members, with their names, emails and roles.

No parameters.

curl -X GET https://api.kontiga.com/v1/members \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/members

Response, 200 OK
{
  "items": [
    { "id": "mem_1Wq7Fz3", "object": "member", "name": "Aoife Gallagher", "email": "aoife.gallagher@harbourline.example", "role": "owner" },
    { "id": "mem_3Rt8Lp2", "object": "member", "name": "Ines Moreau", "email": "ines.moreau@harbourline.example", "role": "admin" },
    { "id": "mem_6Hx2Vd9", "object": "member", "name": "Tomas Lindqvist", "email": "tomas.lindqvist@harbourline.example", "role": "analyst" },
    { "id": "mem_8Kb5Ns1", "object": "member", "name": "Priya Raman", "email": "priya.raman@harbourline.example", "role": "developer" }
  ],
  "next_cursor": null
}

Send an invitation

Changes data

POST/v1/invites

Invite someone by email with a role. The link works for 7 days, and only for the address it was sent to.

Who may
Owner and Admin
CLI
kontiga invites create --email <email> --role <admin|analyst|developer|viewer|billing>
MCP tool
send_invitation
Returns
The invitation, sent.

Parameters

  • emailemailRequired

    Their address. The link works only when they sign in with it. An address already in the workspace is refused.

  • roleenumRequired

    The role they get when they accept. One of admin, analyst, developer, viewer, billing.

curl -X POST https://api.kontiga.com/v1/invites \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "colm.oshea@harbourline.example",
    "role": "analyst"
  }'

POST /v1/invites

Response, 201 Created
{
  "id": "inv_4Pz9Cg6",
  "object": "invitation",
  "email": "colm.oshea@harbourline.example",
  "role": "analyst",
  "invited_by": "Ines Moreau",
  "sent_at": "2026-11-27T12:30:00Z",
  "expires_at": "2026-12-04T12:30:00Z",
  "sends": 1
}

List the pending invitations

Reads only

GET/v1/invites

Every invitation not yet accepted, with its role, who sent it and when its link stops working.

Who may
Owner, Admin, Analyst, Developer and Viewer
CLI
kontiga invites list
MCP tool
list_invitations
Returns
The pending invitations, the newest first.

No parameters.

curl -X GET https://api.kontiga.com/v1/invites \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/invites

Response, 200 OK
{
  "items": [{
      "id": "inv_4Pz9Cg6",
      "object": "invitation",
      "email": "colm.oshea@harbourline.example",
      "role": "analyst",
      "invited_by": "Ines Moreau",
      "sent_at": "2026-11-27T12:30:00Z",
      "expires_at": "2026-12-04T12:30:00Z",
      "sends": 1
    }],
  "next_cursor": null
}

Resend an invitation

Changes data

POST/v1/invites/{invite_id}/resend

Sends the email again; the link works for 7 more days.

Who may
Owner and Admin
CLI
kontiga invites resend <invite_id>
MCP tool
resend_invitation
Returns
The invitation, sent again.

Parameters

  • invite_idid (inv_)Required

    A pending invitation. Its link works for 7 more days. In the path.

curl -X POST https://api.kontiga.com/v1/invites/inv_4Pz9Cg6/resend \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

POST /v1/invites/{invite_id}/resend

Response, 200 OK
{
  "id": "inv_4Pz9Cg6",
  "object": "invitation",
  "email": "colm.oshea@harbourline.example",
  "role": "analyst",
  "invited_by": "Ines Moreau",
  "sent_at": "2026-11-29T09:05:00Z",
  "expires_at": "2026-12-06T09:05:00Z",
  "sends": 2
}

Cancel an invitation

Changes data

DELETE/v1/invites/{invite_id}

Its link stops working at once.

Who may
Owner and Admin
CLI
kontiga invites cancel <invite_id>
MCP tool
cancel_invitation
Returns
The invitation’s link no longer works.

Parameters

  • invite_idid (inv_)Required

    A pending invitation. Its link stops working at once. In the path.

curl -X DELETE https://api.kontiga.com/v1/invites/inv_4Pz9Cg6 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

DELETE /v1/invites/{invite_id}

Response, 200 OK
{
  "id": "inv_4Pz9Cg6",
  "object": "invitation",
  "deleted": true
}

Change a member's role

Changes data

PATCH/v1/members/{member_id}

Give a member another of the six roles. The owner’s role changes only by transferring ownership, and no one changes their own.

Who may
Every member, for themselves
CLI
kontiga members set-role <member_id> --role <admin|analyst|developer|viewer|billing>
MCP tool
change_member_role
Returns
The member, with the new role.

Parameters

  • member_idid (mem_)Required

    The member. Not the owner, whose role changes only by handing over ownership, and not yourself. In the path.

  • roleenumRequired

    Their new role. One of admin, analyst, developer, viewer, billing.

curl -X PATCH https://api.kontiga.com/v1/members/mem_6Hx2Vd9 \
  -H "Authorization: Bearer $KONTIGA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "role": "admin"
  }'

PATCH /v1/members/{member_id}

Response, 200 OK
{
  "id": "mem_6Hx2Vd9",
  "object": "member",
  "role": "admin"
}

Remove a member

Changes data

DELETE/v1/members/{member_id}

They lose access at once. Their cases stay, unassigned, and their decisions and notes keep their name. With revoke_keys the API keys they made are revoked too; without it those keys keep working until you revoke them.

Who may
Every member, for themselves
CLI
kontiga members remove <member_id> [--revoke-keys]
MCP tool
remove_member
Returns
The member no longer has access, and how many of their keys were revoked with it.

Parameters

  • member_idid (mem_)Required

    The member to remove. Not the owner, and not yourself. Their open cases become unassigned; what they did keeps their name. In the path.

  • revoke_keysboolean

    Optional. true also revokes the API keys the member made, in the same step; the answer’s revoked_keys says how many. Without it those keys keep working until you revoke them.

curl -X DELETE https://api.kontiga.com/v1/members/mem_6Hx2Vd9 \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

DELETE /v1/members/{member_id}

Response, 200 OK
{
  "id": "mem_6Hx2Vd9",
  "object": "member",
  "deleted": true,
  "revoked_keys": 0
}

List how members sign in

Reads only

GET/v1/members/sign_ins

Each member’s ways in (single sign-on, a passkey, an emailed link, Google) and when they last signed in, so you see who still signs in another way before you require single sign-on.

Who may
Every member, for themselves
CLI
kontiga members sign-ins
MCP tool
list_member_sign_ins
Returns
Each member’s ways in, the last used first, and their last sign-in.

No parameters.

curl -X GET https://api.kontiga.com/v1/members/sign_ins \
  -H "Authorization: Bearer $KONTIGA_API_KEY"

GET /v1/members/sign_ins

Response, 200 OK
{
  "items": [
    { "member_id": "mem_1Wq7Fz3", "ways": ["sso", "passkey"], "last_sign_in_at": "2026-11-27T07:58:12Z", "last_way": "sso" },
    { "member_id": "mem_3Rt8Lp2", "ways": ["sso"], "last_sign_in_at": "2026-11-27T08:02:40Z", "last_way": "sso" },
    { "member_id": "mem_6Hx2Vd9", "ways": ["email_link", "google"], "last_sign_in_at": "2026-11-26T16:44:05Z", "last_way": "email_link" },
    { "member_id": "mem_8Kb5Ns1", "ways": ["passkey"], "last_sign_in_at": "2026-11-27T09:10:31Z", "last_way": "passkey" }
  ],
  "next_cursor": null
}