POST
/
site
/
internal-count
curl --request POST \
  --url https://{appDomain}/site/internal-count \
  --header 'Content-Type: application/json' \
  --header 'X-Bearer-Token: <api-key>' \
  --data '{
  "customer_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "total": 123,
  "data": [
    {
      "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "count": 123
    }
  ]
}

Authorizations

X-Bearer-Token
string
header
required

Static token for internal service-to-service communication. Required for /site/internal/* endpoints.

Body

application/json

Response

200
application/json

Site counts per customer and total count.

The response is of type object.