qrtap_get_smart_rules
Retrieve the conditional Smart Links redirect rules for a specific code so you can review existing rules before replacing them and avoid dropping unknown rules.
Instructions
Read the conditional (Smart Links) redirect rules currently set on one code. An empty array means the code always goes to its primary destination. Call this before qrtap_set_smart_rules, which replaces the whole rule set — otherwise you will silently drop rules you did not know about.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codeId | Yes | The code id (UUID), as returned by qrtap_create_code, qrtap_create_codes_bulk or qrtap_list_codes. This is the internal id, not the short_url slug. |