---
title: "Get sync rules"
method: GET
path: "/sync-rules"
tags: ["Sync Rules"]
---

# Get sync rules

`GET /sync-rules`

Returns the company's effective sync rules - the automatic tag changes applied when events fire. New companies start with an empty rule set; legacy companies may inherit the optional SaaS/ecommerce platform preset. isDefault reports whether that preset is active.

## Response `200`

Sync rules returned

- object
  - `success` boolean
  - `syncRules` SyncRule[]
    - `triggerEvent` string, required — Event name that triggers the rule.
    - `actions` object, required
      - `addTags` string[], required
      - `removeTags` string[], required
    - `conditions` object — Optional conditions that must all hold for the rule to apply.
      - `requiresTags` string[] — Rule only applies if the subscriber has ALL of these tags.
      - `requiresNotTags` string[] — Rule only applies if the subscriber has NONE of these tags.
      - `purchasedProduct` object — For commerce events with product context - rule only applies when a product on the event matches every specified selector (values within a selector are OR'd).
        - `tags` string[]
        - `collectionIds` string[]
        - `productTypes` string[]
        - `vendors` string[]
  - `isDefault` boolean — True while the company still uses the platform default rules.

## Other responses

- `401` — Unauthorized
- `503` — The database was temporarily unavailable. The request may be retried after the delay in Retry-After.

## Changes

- **2026-08-19** `ba3a29c6eb33` — 2 info
  - added the optional property `retryable` to the response with the `401` status
  - added the optional property `retryable` to the response with the `503` status
- **2026-08-18** `8fbabe82a04d` — 1 info
  - added the non-success response with the status `503`
- **2026-08-16** `6fd2903b91ce` — 1 info
  - added the optional property `code` to the response with the `401` status
- **2026-08-02** `36f92fc0caa2` — 1 breaking
  - the response property `success` became optional for the status `401`
- **2026-07-03** `7264ea552df4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/sync-rules/get.md)

---

[API](https://skmtc.dev/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.dev/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/revisions/ba3a29c6eb33/schema)
