curl --request GET \
--url https://app.flowglad.com/api/v1/usage-meters \
--header 'Authorization: <api-key>'
{
"data": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"name": "<string>",
"catalogId": "<string>",
"slug": "<string>",
"aggregationType": "sum"
}
],
"currentCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"total": 123
}
curl --request GET \
--url https://app.flowglad.com/api/v1/usage-meters \
--header 'Authorization: <api-key>'
{
"data": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"livemode": true,
"organizationId": "<string>",
"name": "<string>",
"catalogId": "<string>",
"slug": "<string>",
"aggregationType": "sum"
}
],
"currentCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"total": 123
}
Successful response
The response is of type object
.
Was this page helpful?