Rest API Introduction
The Sumatra Event API is a REST interface that allows application developers to send JSON events to Sumatra.
Here is how you would use curl
to access the API from the command line.
curl --request POST \
--url 'https://api.sumatra.ai/event?features' \
--header 'Content-Type: application/json' \
--header 'x-api-key: SUMATRA_API_KEY' \
--data '{
"_type": "my_event_type",
"id": "7"
}'
For additional information, review our API docs.