Bulk-import conversions from CSV text, or manually enter a single one — columns/fields: subid/click_id, status, payout, currency, tid, date
POST
/api/v1/conversions/import
const url = 'https://example.com/api/v1/conversions/import';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"csv":"example","row":{"clickId":"550e8400-e29b-41d4-a716-446655440000","status":"sale","payout":"49.99","currency":"USD","tid":"aff-net-12345","date":"2026-02-14"},"goalKey":"purchase"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/conversions/import \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "csv": "example", "row": { "clickId": "550e8400-e29b-41d4-a716-446655440000", "status": "sale", "payout": "49.99", "currency": "USD", "tid": "aff-net-12345", "date": "2026-02-14" }, "goalKey": "purchase" }'Authorizations
Заголовок раздела «Authorizations»Request Bodyrequired
Заголовок раздела «Request Bodyrequired»Media typeapplication/json
object
csv
Raw CSV text with a header row — columns: subid/click_id, status, payout, currency, tid, date. Mutually exclusive with row.
CSV is sent as text in the JSON body, not multipart/form-data.
string
row
Single manual conversion row — alternative to csv for entering one conversion at a time.
object
clickId
string
Example
550e8400-e29b-41d4-a716-446655440000status
string
Example
salepayout
object
Example
49.99currency
string
Example
USDtid
string
Example
aff-net-12345date
string
Example
2026-02-14goalKey
Goal key applied to every row that maps to a conversion — omitted rows fall back to the click’s owner’s first active goal.
string
Example
purchaseResponses
Заголовок раздела «Responses»Import report: accepted/rejected counts + per-row detail