Workspaces

Accept

Redeem an invitation token. The caller's user_id (from the Vercel proxy) becomes a member of the invited workspace.

post/api/workspaces/invitations/accept

Request

  • Base URL: https://api.kolens.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.kolens.ai/api/workspaces/invitations/accept
  • Auth: HTTP bearer

Headers

x-kolens-user-idstring nullable

Request body

tokenstring required

Response

Successful Response

workspace_idstring required
workspace_slugstring required
role'admin' | 'billing' | 'member' required
joined_atstring date-time required

Changes

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