Affiliations

Get affiliate timelines

Returns a daily time series for the specified metric (signups, clicks, or paid_users) within a date range.

get/v2/affiliation/{userId}/timelines

Request

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

Path parameters

userIdinteger required

ID of the affiliate user

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.