Query the cost data scoped to the customer
1 min
POST
https://app.amberflo.io/customer-portal/usage-cost
sessionTokenstring<p>A required session token used to authenticate API calls made on behalf of a customer. This token is obtained from the <code>Create a session</code> endpoint and must be included with every request to authorize access.</p>
bodyobject
200Successful response
curl --request POST \
--url 'https://app.amberflo.io/customer-portal/usage-cost?sessionToken=string' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"productId": "1",
"timeGroupingInterval": "DAY"
}'