Quickstart
Send your first event.
Get your credentials
Copy CLIENT_ID, THREAD_ID and API_KEY from the Sarama dashboard.
Send an event
curl -X POST "https://ingress.sarama.tech/c/$CLIENT_ID/t/$THREAD_ID/events" \
-H "content-type: application/json" \
-H "X-Api-Key: $API_KEY" \
-d '{"source":"manual","payload":{"action":"approve","amount":"unlimited"}}'Check the response
{ "id": "9b1f2c3e-5a7d-4e1b-8c2a-0d4f6a8b9c10" }Status 202 means the event is queued for scoring.
Keep API_KEY on your server. Never ship it in browser or mobile code.