Skip to main content
POST
/
get-organization-quota-status
cURL
curl --request POST \
  --url https://api.mindshare.so/customer/v1/get-organization-quota-status \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "organizationID": 123
}
'
{
  "status": 123,
  "data": {
    "quota": 123,
    "used": 123,
    "customers": [
      {
        "customer_id": 123,
        "customer_name": "<string>",
        "active_query_groups": 123
      }
    ]
  },
  "version": "<string>",
  "env": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Organization ID

organizationID
number
required

The ID of the organization to check quota for. Must match the organization associated with the API key.

Response

200 - application/json

Organization quota status

status
number
required

HTTP status code

data
object
required
version
string
required

API version

env
string
required

Environment name