attribution-api10 min
Attribution API
REST endpoints to query the multi-touch journey of any conversion.
REST endpoints
GET /api/v1/attribution/journey/:conversionId
GET /api/v1/attribution/window?days=7&model=last-touch
POST /api/v1/attribution/replay # recompute with a different modelAuthentication
Bearer token from /settings/api-keys. Scope `read:attribution` is sufficient for all endpoints in this doc.
Authorization: Bearer trq_live_••••Example response
{
"conversionId": "cnv_8a3f02",
"value": 149.00,
"model": "data-driven",
"touches": [
{ "ts": "2026-05-04T09:32Z", "channel": "tiktok", "device": "mobile", "weight": 0.18 },
{ "ts": "2026-05-06T14:11Z", "channel": "google", "device": "desktop", "weight": 0.36 },
{ "ts": "2026-05-06T14:25Z", "channel": "direct", "device": "desktop", "weight": 0.46 }
]
}