Send events

Post events to Sarama from your language.

Replace CLIENT_ID, THREAD_ID and API_KEY with your values. A 202 response means the event was accepted.

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":"my-app","payload":{"action":"transfer","amount":"1000"}}'

Handle 429 and 503 with retry. See Responses.