Skip to main content
POST
/
team
/
accept-invite
Accept a team invite
curl --request POST \
  --url https://api.basic.tech/team/accept-invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "invite_id": "<string>"
}
'
{
  "data": {
    "team_id": "<string>",
    "account_id": "<string>",
    "roles": "<string>",
    "role_name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization Token header using the Bearer scheme

Body

application/json
invite_id
string
required

The ID of the invite to accept

Response

Invite accepted successfully

Invite accepted successfully

data
object