Skip to content

Reference

Tracking links

UTM-tagged links to your own pages.

View as Markdown

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.

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

ParameterInTypeDescription
limitqueryintegerHow many to return, 1 to 100 (default 20).
starting_afterquerystringAn id from the page before: the page after it.
ending_beforequerystringAn 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…
eventquerystringAn id starting with evt_.
partnerquerystringAn id starting with ptr_.

Answers 200. A page of links.

Fields

FieldTypeDescription
object *"list"
data *array of TrackingLinkThis page, newest first.
has_more *booleanTrue 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

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)

FieldTypeDescription
eventstringAn id starting with evt_.
name *string
destination *string (uri)An absolute https URL.
utm *object
partnerstringAn id starting with ptr_.
metadataobjectYour 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

JSON
{
  "name": "Newsletter",
  "destination": "https://example.com/tickets",
  "utm": {
    "source": "newsletter"
  }
}

Answers 201. The link.

Fields (TrackingLink)

FieldTypeDescription
object *"tracking_link"
id *stringAn id starting with lnk_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *string | nullAn id starting with evt_.
name *string
destination *stringYour page it points to.
utm *object
url *stringThe tagged link: destination with utm_* and rtl=<id>.
partner *string | nullAn 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 *MetadataYour 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

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

ParameterInTypeDescription
id *pathstringAn id starting with lnk_.

Answers 200. The link.

Fields (TrackingLink)

FieldTypeDescription
object *"tracking_link"
id *stringAn id starting with lnk_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *string | nullAn id starting with evt_.
name *string
destination *stringYour page it points to.
utm *object
url *stringThe tagged link: destination with utm_* and rtl=<id>.
partner *string | nullAn 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 *MetadataYour 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

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

ParameterInTypeDescription
id *pathstringAn id starting with lnk_.

Request body (UpdateTrackingLinkInput)

FieldTypeDescription
namestring
partnerstring | nullAn id starting with ptr_.
metadataobjectYour 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.
JSON
{
  "name": "Spring newsletter"
}

Answers 200. Updated.

Fields (TrackingLink)

FieldTypeDescription
object *"tracking_link"
id *stringAn id starting with lnk_.
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
event *string | nullAn id starting with evt_.
name *string
destination *stringYour page it points to.
utm *object
url *stringThe tagged link: destination with utm_* and rtl=<id>.
partner *string | nullAn 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 *MetadataYour 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