Invitation
Complete invitation if user authenticated
Checks if the invited user has authenticated with the identity provider and completes the invitation if so. This endpoint is typically called by external systems or webhooks when a user completes authentication.
post/api-regulated/v1/invitations/{invitationId}/complete
Request
- Base URL: https://api.currencyguard.com
- URL: https://api.currencyguard.com/api-regulated/v1/invitations/{invitationId}/complete
- Auth: HTTP bearer
Path parameters
invitationIdstring uuid required
Response
Invitation checked and potentially completed
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.