Skip to main content
GET
/
workspaces
/
{workspacePublicId}
/
invite
Get active invite link for workspace
curl --request GET \
  --url https://kan.bn/api/v1/workspaces/{workspacePublicId}/invite \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "inviteCode": "<string>",
  "inviteLink": "<string>",
  "isActive": true,
  "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

isActive
boolean
required
id
number
inviteCode
string
expiresAt
string