invitations

Create workspace invitation

Create an invitation to join the workspace. Requires owner or admin role.

post/api/v1/workspaces/{workspace_id}/invitations

Request

  • Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://memory.kagura-ai.com/api/v1/workspaces/{workspace_id}/invitations
  • Auth: none declared

Path parameters

workspace_idstring uuid required

Headers

authorizationstring nullable

Request body

emailstring required

Email address (must match Google OAuth account)

role'owner' | 'admin' | 'member' | 'viewer'

Workspace-level tenancy role.

Ordering: OWNER > ADMIN > MEMBER > VIEWER (see WORKSPACE_ROLE_WEIGHTS).

expires_in_daysinteger nullable

Days until expiration (7/30/90/365 or null=never)

allowed_context_idsstring[] nullable

Context IDs to allow (required for member/viewer, minimum 1)

Response

Successful Response

idunknown required
workspace_idunknown required
tokenunknown required
emailunknown required
roleunknown required
invited_byunknown required
expires_atunknown required
accepted_atunknown required
accepted_byunknown required
created_atunknown required
invitation_urlunknown required
is_expiredunknown required
is_acceptedunknown required
allowed_context_idsunknown

Changes

No recorded changes to this operation across all 1 revision of this API.