Skip to main content
POST
Check usage allowance

Authorizations

Authorization
string
header
required

API key created in the ZeroClick dashboard under Settings → API keys. Keys start with zc_. Send them as Authorization: Bearer zc_....

Body

application/json
zcRequestId
string
required
Minimum string length: 1
serviceSlug
string
required
Required string length: 1 - 80
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
usage
object[]
required
Required array length: 1 - 20 elements

Response

Default Response

allowed
boolean
required
reason
enum<string> | null
required
Available options:
service_not_found,
access_not_found,
access_inactive,
plan_expired,
meter_not_found,
meter_not_priced,
usage_exhausted