List the program's master switches
GET /program/switches| Scope | program:read |
| Customer session token | Not accepted: call from your server with an API key |
| Rate limit class | read (limits) |
| Idempotency key | Not used |
| MCP tool | charm_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).
Response 200
Section titled “Response 200”Returns ProgramSwitchList.
| Field | Type | Description |
|---|---|---|
revision | integer | |
data | array of ProgramSwitch |
{ "revision": 1, "data": [ { "switch": "program", "enabled": true, "available": false } ]}Example
Section titled “Example”curl -X GET "https://charm.appfleece.app/api/v1/program/switches" \ -H "Authorization: Bearer chrm_live_..."Errors
Section titled “Errors”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.