Batch trigger alert enrichment
POST
/alerts/enrich
const url = 'https://demo.suricatavel.org/api/v1/alerts/enrich';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"ids":[1]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://demo.suricatavel.org/api/v1/alerts/enrich \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ids": [ 1 ] }'Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Media typeapplication/json
object
ids
Array<integer>
Example generated
{ "ids": [ 1 ]}Responses
Section titled “Responses”Batch enrichment triggered

