Skip to main content
POST
/
workspaces
/
{workspacePublicId}
/
invites
Create invite link for workspace
curl --request POST \
  --url https://kan.bn/api/v1/workspaces/{workspacePublicId}/invites \
  --header 'Authorization: Bearer <token>'
{
  "publicId": "<string>",
  "inviteCode": "<string>",
  "inviteLink": "<string>",
  "expiresAt": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspacePublicId
string
required
Minimum length: 12

Response

Successful response

publicId
string
required
Minimum length: 12
inviteCode
string
required
expiresAt
string | null
required