v1

latestOpenAPI 3.1.02026-07-26580123.9 KB

Counter value

get/usage/{companyDomain}/subscriptions/{subscriptionUniqueId}/counters/{counterId}

Path parameters

companyDomainstring required

Your companies Billsby subdomain - for example, if you login at widgets.billsby.com, your companyDomain is widgets

subscriptionUniqueIdstring required

The unique identifier of the subscription in the Billsby platform

counterIdstring required

The unique identifier of the counter in the Billsby platform

Query parameters

fromstring date

The date you would like the counter value from; format is ISO 8601, e.g. 2020-08-25T18:35:00.000Z

tostring date

The date you would like the counter value to; format is ISO 8601, e.g. 2020-08-25T18:35:00.000Z

Response

200

usageinteger
timestampstring

Example response

{
  "usage": 2,
  "timestamp": "2020-05-28T11:05:09.078+00:00"
}