Skip to main content
POST
/
v2
/
workspaces
/
{workspaceId}
/
invitations
Send Invitation
curl --request POST \
  --url http://localhost:3000/api/v2/workspaces/{workspaceId}/invitations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "role": "admin"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceId
string
required

Body

application/json
email
string
required
role
enum<string>
required
Available options:
admin,
member

Response

Invitation sent successfully

I