Affiliations

Get timelines for a specific affiliate link

Returns a daily time series for the specified metric filtered by a specific affiliate link.

get/v2/affiliation/{userId}/links/{linkId}/timelines

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/affiliation/{userId}/links/{linkId}/timelines
  • Auth: none declared

Path parameters

userIdinteger required

ID of the affiliate user

linkIdinteger required

ID of the affiliate link

Query parameters

fromstring required

Start date and time in ISO 8601 format, e.g. 2021-01-01T00:00:00+01:00

tostring required

End date and time in ISO 8601 format, e.g. 2021-12-31T23:59:59+01:00

timezonestring

IANA timezone identifier, e.g. Europe/Madrid

metricstring required

Metric to retrieve: signups, clicks, or paid_users

Response

Timeline data retrieved successfully

metadataobject

Changes

No recorded changes to this operation across all 5 revisions of this API.