The GlobalGateway Ongoing Monitoring service uses Token Authentication as opposed to Basic Authentication used by the rest of Trulioo's services. We have listed the Token endpoint and a sample API call below for clarity
Prerequisites
- Before you get started, make sure you have either a GAPI user account with access to the Identity Enrollment Service
- You have tested your credentials using the Test Authentication call.
Enrollment API Endpoint
The Enrollment API Endpoint is different from the standard GlobalGateway endpoint and should only be used to enroll an entity into our Identity Enrolment Service for Ongoing Monitoring.
https://identity-enrollment.trulioo.com
Token Authentication Request
To get the bearer token for authentication, submit a POST call to the endpoint below with the Trulioo username and password given to you by the implementation team. The bearer token returned then needs to be provided in the header for all subsequent enrollment calls shown under Entity Enrollment
https://identity-enrollment.trulioo.com/Token
Sample Token Request
POST /Token HTTP/1.1
Host: identity-enrollment.trulioo.com
Content-Type: application/json
{
"Username": "TRULIOO_PROVIDED_USERNAME",
"Password": "TRULIOO_PROVIDED_PASSWORD"
}
Sample Token Response
{
"Version": "1.0.0",
"StatusCode": 200,
"Message": "POST Request successful.",
"Result": {
"Token": TOKEN,
"TokenType": "bearer",
"RefreshToken": REFRESH_TOKEN,
"ExpiresIn": 3598
}
}