qrtap_list_codes
List managed codes and short links newest first, filtered by group or external_ref, with optional scan totals. Find a code's id before retargeting or confirm it exists before creating more.
Instructions
List the organization's managed codes and short links, newest first. This is the way to find a code's id before retargeting it, and the way to check what already exists before creating more. Filter by group (a whole batch) or external_ref (one specific code). Set include_stats=true to get every code's all-time scan count in the same response — far cheaper than calling qrtap_code_stats per code when you only need totals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Optional filter: only codes filed under this group (partner | equipment | event_menu | bag_insert | training). | |
| limit | No | Page size, 1..500. Defaults to 100. | |
| offset | No | Pagination offset; add `limit` to walk further batches. | |
| external_ref | No | Optional filter: only the code carrying this external reference (exact match). The fastest way to check whether a code for a given branch/SKU already exists. | |
| include_stats | No | When true, adds an all-time non-bot `scans` counter to every returned code. Use it to compare a whole batch in one call. |