Skip to main content
POST
/
invitations
/
{token}
/
accept
Accept invitation
curl --request POST \
  --url https://api.dualship.run/invitations/{token}/accept \
  --header 'Authorization: Bearer <token>'
{
  "role": "member",
  "workspace_id": "550e8400-e29b-41d4-a716-446655440000"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Path Parameters

token
string
required

Invitation token

Response

Invitation accepted

Invitation acceptance response

role
string
Example:

"member"

workspace_id
string
Example:

"550e8400-e29b-41d4-a716-446655440000"