Invite a user to the team
Sends an invitation to a user to join a specified team. It requires parameters such as the team's unique identifier and the email address of the user to be invited. The retailer team, identified by a
description: "Sends an invitation to a user to join a specified team. It requires parameters such as the team's unique identifier and the email address of the user to be invited. The retailer team, identified by a unique ID, manages access and can also invite suppliers."
Invite a user to the team
Sends an invitation to a user to join a specified team. It requires parameters such as the team's unique identifier and the email address of the user to be invited. The retailer team, identified by a unique ID, manages access and can also invite suppliers.
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)
The invite user team
The invitation_token of the team.
There was a problem with input.
Access denied due to insufficient permissions.
Login failed or token not valid.
An unexpected error response.
POST /v2/invite_teams HTTP/1.1
Host: auth.<env>.citrusad.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 261
{
"inviteTeam": {
"emailToInvite": "invitee@example.com",
"inviteUrl": "https://campaign.citrusad.com/user/invite",
"languageCode": "EN_US",
"managerTeamId": "manager-team-123",
"roleIds": [
"ROLE_TYPES_SUPPLIER_FULL",
"ROLE_TYPES_RETAILER_REPORT_VIEW"
],
"teamId": "team-456"
}
}{
"invitationToken": "text"
}
