Ingest Events
POST
/ingest/events
const url = 'https://demo.suricatavel.org/api/v1/ingest/events';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"events":[{}]}'};
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/ingest/events \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "events": [ {} ] }'CAUTION: Internal endpoint for Agent use only.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Media typeapplication/json
object
events
Array<object>
object
Example generated
{ "events": [ {} ]}Responses
Section titled “Responses”Events accepted

