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
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 |
Headers
Code Block |
---|
Content-Type application/json
Authorization {{fcmToken}} |
Request Body (json)
Code Block |
---|
{ "search": { "accountId": "", "detail": { "address": { "country": "", "street": "", "city": "", "state": "", "postal": "" }, "annotation": "", "citizenship": "", "dob": { "dateOfBirth": "" }, "dobDelta": "", "firstName": "bernard", "lastName": "madoff", "middleName": "", "type": "Individual" }, "organizationId": "", "screeningGroupId": "", "status": "ready", "userId": "" } } |