Invitation
Create sales user invitation
Creates an invitation for a new sales user at an introducing broker within the regulated user's regulated entity.
Required entitlement: regulated.sales-users.canInviteSalesUser
Entitles the regulated user to invite and onboard sales users within their regulated entity
post/api-regulated/v1/invitations/sales
Request
- Base URL: https://api.currencyguard.com
- URL: https://api.currencyguard.com/api-regulated/v1/invitations/sales
- Auth: OAuth 2 (implicit, authorization URL https://auth.currencyguard.com/oauth2/authorize, scopes: regulated.sales-users.canInviteSalesUser)
Request body
Example request
{
"email": "jane.doe@salesteam.com",
"firstName": "Jane",
"lastName": "Doe",
"introducingBrokerId": "550e8400-e29b-41d4-a716-446655440000",
"message": "Welcome to our sales team! Please complete your onboarding.",
"entitlementsTemplateName": "Sales User"
}Response
Invitation created
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"inviterUserId": "550e8400-e29b-41d4-a716-446655440001",
"inviterUserPiiData": {
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"phone": "+44 20 7946 0958",
"jobTitle": "Risk Manager",
"department": "Trading"
},
"inviteeUserId": "550e8400-e29b-41d4-a716-446655440005",
"inviteeUserPiiData": {
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"phone": "+44 20 7946 0958",
"jobTitle": "Risk Manager",
"department": "Trading"
},
"userType": "REGULATED",
"entitlementsTemplateId": "550e8400-e29b-41d4-a716-446655440001",
"entitlementsTemplateTemplateName": "Super User",
"regulatedEntityId": "550e8400-e29b-41d4-a716-446655440002",
"companyId": "550e8400-e29b-41d4-a716-446655440003",
"invitationToken": "eyJhbGciOiJIUzI1NiJ9...",
"status": "PENDING",
"expiresAt": "2024-10-25T12:30:40Z",
"completedAt": "2024-10-20T14:15:30Z",
"piiData": {
"status": "ENCRYPTED",
"value": "...",
"key": "arn:aws:kms:..."
},
"perimeterId": "cccccccc-cc11-4001-8000-000000000000",
"introducingBrokerId": "550e8400-e29b-41d4-a716-446655440006",
"createdUserId": "550e8400-e29b-41d4-a716-446655440004",
"versionNumber": 1,
"updatedBy": "jbloggs24",
"updatedAt": "2024-10-18T12:30:40Z",
"createdAt": "2024-10-18T12:30:40Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.