POST /v1/meters
POST
/v1/metersAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredHeader parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstringrequiredAllowed:
sandboxproductionmerchantAccountIdstringrequiredmin length 1
namestringrequiredmin length 1
eventNamestringrequiredmin length 1
aggregationTypestringrequiredAllowed:
sumcountmaxwindowGrainstringrequiredAllowed:
dayweekmonthmeterIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfilterSchemaobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
meterIdstringrequiredmin length 1
namestringrequiredmin length 1
eventNamestringrequiredmin length 1
aggregationTypestringrequiredAllowed:
sumcountmaxwindowGrainstringrequiredAllowed:
dayweekmonthcreatedAtstringrequiredmin length 1
filterSchemaobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullarchivedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1