Skip to main content
POST
/
api
/
v1
/
teams
/
invitations
/
accept
Accept Team Invitation
curl --request POST \
  --url https://api.example.com/api/v1/teams/invitations/accept \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>"
}
'
{
  "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "role": "<string>",
  "team_name": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
token
string
required

Invitation token

Required string length: 8 - 128

Response

Successful Response

team_id
string<uuid>
required
role
string
required
team_name
string
required