API ReferenceSupport automation settings
Retrieve support automation settings
Read the store's automation switch and daily refund cap.
GET
Read the store's support automation switch, its daily cap on automatic refunds and how many rules are switched on. While automation_enabled is false, no rule acts on any ticket. Requires the support.automation API-key ability, and the key's user needs the Support Automation role in the store (owners and administrators have it). OAuth callers use the admin grant and select a store with X-STORE. Current membership and role permissions apply to every request.
header
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
Successful response.
application/json- response
data*curl -X GET 'https://sell.app/api/v2/support-automation-settings' \ -H 'X-STORE: launch-lab'{ "data": { "automation_enabled": true, "daily_refund_cap_cents": 5000, "currency": "USD", "active_rules_count": 1, "active_refund_rules_count": 1 }}