Skip to main content
POST
/
workspaces
/
{workspacePublicId}
/
members
/
invite
Invite a member to a workspace
curl --request POST \
  --url https://kan.bn/api/v1/workspaces/{workspacePublicId}/members/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]"
}
'
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}

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 string length: 12

Body

application/json
email
string<email>
required

Response

Successful response