Join a team with invitation token
This endpoint enables users to join a team using a valid and unexpired invitation token. Users send a POST request that includes the invitationToken to authenticate their request to join the specified
description: "This endpoint enables users to join a team using a valid and unexpired invitation token. Users send a POST request that includes the invitationToken to authenticate their request to join the specified team. This ensures only those with valid and unexpired tokens can join the team."
Join a team with invitation token
This endpoint enables users to join a team using a valid and unexpired invitation token. Users send a POST request that includes the invitationToken to authenticate their request to join the specified team. This ensures only those with valid and unexpired tokens can join the team.
For accessing the API a valid JWT jwt must be passed in all queries in the 'Authorization' header. The following syntax must be used in the 'Authorization' header. (Bearer xxx.yyy.zzz)
A valid token required to authorize the request to join the team. You can retrieve the invitation token by using the Invite a user to the team endpoint.
ABC123The user has successfully joined the team using the provided invitation token.
There was a problem with input.
Login failed or token not valid.
Login failed or token not valid.
An unexpected error response.
POST /v2/join-team-by-token HTTP/1.1
Host: auth.<env>.citrusad.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"invitationToken": "ABC123"
}{
"userAccess": {
"clientIp": "192.168.1.100",
"consumedPermissions": {
"ANY_ADDITIONAL_PROPERTY": {
"permissions": [
{
"action": "ACTION_READ",
"subject": "SUBJECT_AD"
}
]
}
},
"id": "user-456",
"isAdmin": "true",
"namespace": "marketing-dept",
"systemPermissions": [
{
"action": "ACTION_READ",
"subject": "SUBJECT_AD"
}
]
}
}
