Skip to main content
POST
/
v1
/
sdk
/
meter-events
/
bulk
Record meter events in bulk
curl --request POST \
  --url https://api.example.com/v1/sdk/meter-events/bulk \
  --header 'Content-Type: application/json' \
  --data '
{
  "events": [
    {
      "customerRef": "<string>",
      "meterName": "<string>",
      "productRef": "<string>",
      "properties": {},
      "timestamp": "<string>",
      "value": 123
    }
  ]
}
'
{
  "inserted": 50,
  "success": true
}

Body

application/json
events
object[]
required
Minimum array length: 1

Response

Events recorded

inserted
number
Example:

50

success
boolean
Example:

true