Skip to content

List the program's master switches

GET /program/switches
Scopeprogram:read
Customer session tokenNot accepted: call from your server with an API key
Rate limit classread (limits)
Idempotency keyNot used
MCP toolcharm_list_program_switches

The four master switches: the points program, VIP tiers, customer e-mails and referrals. available: false means there is nothing to switch on yet (no tiers, no referral program).

Returns ProgramSwitchList.

FieldTypeDescription
revisioninteger
dataarray of ProgramSwitch
{
"revision": 1,
"data": [
{
"switch": "program",
"enabled": true,
"available": false
}
]
}
Terminal window
curl -X GET "https://charm.appfleece.app/api/v1/program/switches" \
-H "Authorization: Bearer chrm_live_..."

unauthorized · invalid_token · insufficient_scope · access_required · validation_error · rate_limited

Every error body carries code, message, request_id and a doc_url pointing at the matching entry in the error catalog.