Authentication
Sentinel Compliance Platform uses an authentication token to authenticate requests. Each API request requires a token, which is provided via /api/auth endpoint.
Code Block |
---|
{ "username": "usernameaccount@domain.com", "password": "HelloWorld" } |
With this method, the sender places a username and password into the request body to get their token. This is an HTTPS request, which means the message content will be encrypted within the HTTP transport protocol.
Batch
Batch file upload searches provided through the batch API. It will post your searches provided through API’s to provide functionality to users.
...
Use this API endpoint to upload batch files
Code Block |
---|
POST https://api.truthtechnologies.com/api/batch |
...
Headers
Code Block |
---|
app.post('/api/batch', isAuthenticated, upload.single('file'), postBatch );Content-Type: form-data Authorization: {{fcmToken}} |
Request Body
Code Block |
---|
options[delimiter]: /t, comma, |, or ;
options[header]: boolean // Include Header Row
options[name]: text
file: /path/to/local/file |
Search
Conducting compliance searches (individual or organization) for inquires through API access. Compliance search reporting and continuous monitored screenings.
...
Code Block |
---|
https://api.truthtechnologies.com/api/search |
API Method (javascript)Headers
Code Block |
---|
app.post('/api/search', postSearch );Content-Type: application/json Authorization: {{fcmToken}} |
Request Body (json)
Code Block |
---|
{ "search": { "nameSearch": { "accountId": ""uuid, "detail": { "address": { "city "country": "", "country": "", "postal": "", string, "street": string, "city": string, "state": "", "street": "" }, string, "postal": string }, "annotation": false, string, "citizenship": "", string, "dob": { "dateOfBirth": "" }, "dobDelta": "", "firstName": "", "lastName": "", "middleName": "", "months": "", "note": "", "phone": "", "reference": false, "refId": "", "ssn": "", "ssn4": "" }, "id": null, "internalId": "", "name": "", "screenDuplicates": false, "screeningGroupId": "", "status": "ready", "type": "Organization", "user": { "email": "", "emailVerified": true, "id": "", "name": "" }, "userId": "" }, "options": [ { "available": true, "connected": true, "enabled": true, "key": "dj", "name": "Sentinel Dow Jones", "numberEntries": 50, "purchased": true, "threshold": 75 }, { "available": true, "connected": true, "enabled": false, "key": "check", "name": "Sentinel World Check", "numberEntries": 50, "purchased": false, "threshold": 75 }, { "available": true, "connected": true, "enabled": false, "key": "compliance", "name": "Sentinel World Compliance", "numberEntries": 50, "purchased": false, "threshold": 75 } ], "submissionType": "Manual" } } "dateOfBirth": string }, "dobDelta": integer, "firstName": string, "lastName": string, "middleName": string, "type": string //Individual or Organization }, "organizationId": uuid, "screeningGroupId": uuid, "status": "ready", "userId": uuid } } /* Required: Account ID, Organization ID, Group ID, User ID, Last Name, Type */ |