Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

Ingest

Ingest events
post/v1/ingest

Send usage events to Metronome. The body of this request is expected to be a JSON array of between 1 and 100 usage events. Compressed request bodies are supported with a Content-Encoding: gzip header. See Getting usage into Metronome to learn more about usage events.

Body Parameters
usagearray of object
optional
Hide ParametersShow Parameters
customer_idstring
minLength1
event_typestring
minLength1
timestampstring

RFC 3339 formatted

transaction_idstring
minLength1
maxLength128
propertiesmap
optional
curl https://api.metronome.com/v1/ingest \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $METRONOME_BEARER_TOKEN"