Skip to main content
POST
/
v1
/
usage
/
meters
Create a usage meter
curl --request POST \
  --url https://revstack.dev/v1/usage/meters \
  --header 'Content-Type: application/json' \
  --data '
{
  "customerId": "<string>",
  "featureId": "<string>",
  "periodStart": "2023-11-07T05:31:56Z",
  "periodEnd": "2023-11-07T05:31:56Z"
}
'
null

Body

application/json
customerId
string
required
Minimum string length: 1
featureId
string
required
Minimum string length: 1
periodStart
string<date-time>
required
periodEnd
string<date-time>
required

Response

201 - application/json

Usage meter created

The response is of type unknown.