POST
/
apps
/
{appId}
/
usage
Fetch usage
curl --request POST \
  --url https://apimgmt.cometchat.io/apps/{appId}/usage \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "usePreviousBillingCycle": true
}'
{
  "data": {
    "success": true,
    "message": "Your usage request has been accepted and is being processed for . You will receive an email with the details at <emailID>@example.com"
  }
}

Headers

key
string
required

Authorization Key

secret
string
required

Authorization Secret

Path Parameters

appId
string
required

The parent appId to which the subscription is linked.

Body

application/json

Response

200 - application/json

Updated App

The response is of type object.