Reference
Tracking links
UTM-tagged links to your own pages.
Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.
List tracking links#
GET /v1/tracking_links
Operation id listTrackingLinks. MCP tool list_tracking_links. SDK tickets.trackingLinks.list.
UTM-tagged links to your own pages, filtered by event or partner, newest first. An event's list includes the links made for every event (event: null).
Who may call it. Any one of: An API key with scope full, read. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has read (owner, admin, staff, viewer).
| Parameter | In | Type | Description |
|---|---|---|---|
limit | query | integer | How many to return, 1 to 100 (default 20). |
starting_after | query | string | An id from the page before: the page after it. |
ending_before | query | string | An id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other… |
event | query | string | An id starting with evt_. |
partner | query | string | An id starting with ptr_. |
Answers 200. A page of links.
Fields
| Field | Type | Description |
|---|---|---|
object * | "list" | |
data * | array of TrackingLink | This page, newest first. |
has_more * | boolean | True when there is another page: pass the last id as starting_after. |
url * | "/v1/tracking_links" | The path this list came from (/v1/tracking_links). |
* required
Make a UTM-tagged link to your page#
POST /v1/tracking_links
Operation id createTrackingLink. MCP tool create_tracking_link. SDK tickets.trackingLinks.create.
Makes a UTM-tagged link to a page of yours, optionally for a partner, so sales can be attributed to it. The destination is an https address without a user name or password; its own utm_* and rtl parameters are replaced by the link's; the tagged link must fit 2,048 characters (it is refused, never cut); a UTM word is plain text and never an email address or a phone number, and a name is never one either. We never redirect or count a click: the link goes straight to your page, and your checkout sends rtl back as attribution.tracking_link.
Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has partners.manage (owner, admin, staff).
Request body (CreateTrackingLinkInput)
| Field | Type | Description |
|---|---|---|
event | string | An id starting with evt_. |
name * | string | |
destination * | string (uri) | An absolute https URL. |
utm * | object | |
partner | string | An id starting with ptr_. |
metadata | object | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
* required
{
"name": "Newsletter",
"destination": "https://example.com/tickets",
"utm": {
"source": "newsletter"
}
}Answers 201. The link.
Fields (TrackingLink)
| Field | Type | Description |
|---|---|---|
object * | "tracking_link" | |
id * | string | An id starting with lnk_. |
mode * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
event * | string | null | An id starting with evt_. |
name * | string | |
destination * | string | Your page it points to. |
utm * | object | |
url * | string | The tagged link: destination with utm_* and rtl=<id>. |
partner * | string | null | An id starting with ptr_. |
created_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
updated_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
metadata * | Metadata | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
* required
Retrieve a tracking link#
GET /v1/tracking_links/{id}
Operation id getTrackingLink. MCP tool get_tracking_link. SDK tickets.trackingLinks.retrieve.
One tracking link with its destination, its UTM fields and the partner it belongs to.
Who may call it. Any one of: An API key with scope full, read. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has read (owner, admin, staff, viewer).
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with lnk_. |
Answers 200. The link.
Fields (TrackingLink)
| Field | Type | Description |
|---|---|---|
object * | "tracking_link" | |
id * | string | An id starting with lnk_. |
mode * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
event * | string | null | An id starting with evt_. |
name * | string | |
destination * | string | Your page it points to. |
utm * | object | |
url * | string | The tagged link: destination with utm_* and rtl=<id>. |
partner * | string | null | An id starting with ptr_. |
created_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
updated_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
metadata * | Metadata | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
* required
Rename a link or change its partner#
PATCH /v1/tracking_links/{id}
Operation id updateTrackingLink. MCP tool update_tracking_link. SDK tickets.trackingLinks.update.
Renames a link or changes its partner. Its destination and UTM fields are fixed: make a new link for those.
Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has partners.manage (owner, admin, staff).
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with lnk_. |
Request body (UpdateTrackingLinkInput)
| Field | Type | Description |
|---|---|---|
name | string | |
partner | string | null | An id starting with ptr_. |
metadata | object | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
{
"name": "Spring newsletter"
}Answers 200. Updated.
Fields (TrackingLink)
| Field | Type | Description |
|---|---|---|
object * | "tracking_link" | |
id * | string | An id starting with lnk_. |
mode * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
event * | string | null | An id starting with evt_. |
name * | string | |
destination * | string | Your page it points to. |
utm * | object | |
url * | string | The tagged link: destination with utm_* and rtl=<id>. |
partner * | string | null | An id starting with ptr_. |
created_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
updated_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
metadata * | Metadata | Your own key-value pairs (up to 50; keys up to 40 characters, values up to 500). We store and return them and never act on them. |
* required