Authentication
Sentinel Compliance Platform uses an authentication token to authenticate requests. Each API request requires a token, which is provided via /api/auth endpoint.
{ "username": "username", "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.
POST REQUEST
Use this API endpoint to upload batch files
https://api.truthtechnologies.com/api/batch
API Method (javascript)
app.post('/api/batch', isAuthenticated, upload.single('file'), postBatch );