---
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

---

[API](https://skmtc.net/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.net/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/versions/af1cf9620482/schema)
