activities
Ticket Buy Redirect
Capture the outbound click + 302 to the activity's external ticket URL.
Behaviour:
- 404 if the activity doesn't exist.
- 404 if the activity has no external ticket URL set (we don't pretend a destination exists — the caller's UI should not have shown a ticket button in the first place).
- 302 to external_ticket_url (preferred) or ticket_url (fallback).
- Click row recorded in activity_outbound_clicks AFTER the 302 is prepared, in a fresh background session — same rationale as view tracking (we don't want a tracking failure to block the user).
The source param is read once and normalised to ALLOWED_SOURCES; anything else falls back to 'unknown' so we keep the column clean for analytics.
get/api/activities/{activity_id}/buy
Request
- Base URL: https://api.activitia.net (the document declares no server; this is the origin it was published from)
- URL: https://api.activitia.net/api/activities/{activity_id}/buy
- Auth: none declared
Path parameters
activity_idstring required
Query parameters
background_tasksunknown
sourcestring
Surface that originated the click. See ALLOWED_SOURCES.
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.