Retrieve a support automation rule
Read one automation rule, archived ones included.
Retrieve one automation rule, archived ones included. Keep its updated_at to send as expected_updated_at when you change the rule or switch it on. Another store's rule returns 404. Amounts are integer USD cents (1999 means $19.99), and action_refund_percent_basis is in hundredths of a percent (5000 is 50%). 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.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
supportAutomationRule*integerThe automation rule ID.
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-rules/7' \ -H 'X-STORE: launch-lab'{ "data": { "id": 7, "name": "Expired download links", "is_active": false, "archived": false, "priority": 1, "match_reason_source": "store", "match_reason_code": "download-link-expired", "match_product_ids": [ 120 ], "match_min_order_total_cents": null, "match_max_order_total_cents": 5000, "match_customer_filter": null, "history_window": "all_time", "min_completed_orders": null, "max_completed_orders": null, "min_lifetime_spend_cents": null, "max_lifetime_spend_cents": null, "min_prior_ticket_count": null, "max_prior_ticket_count": null, "min_prior_support_refund_count": null, "max_prior_support_refund_count": 0, "min_prior_support_refund_cents": null, "max_prior_support_refund_cents": null, "customer_age_days_min": null, "customer_age_days_max": null, "response_template_id": 32, "action_refund_kind": "partial", "action_refund_percent_basis": 5000, "action_refund_fixed_cents": null, "action_refund_cap_cents": 1000, "action_close_outcome": "refunded_partial", "currency": "USD", "created_at": "2026-07-03T09:20:00.000000Z", "updated_at": "2026-07-03T09:20:00.000000Z" }}