Contacts

Contacts added over time

Contacts added in each bucket of the period and still present, counted by their current status. Call it for the growth of the list over time. These are not subscription events: a contact deleted later drops out of past buckets, and today's unsubscription changes yesterday's bucket.

Buckets are consecutive days, calendar weeks (Monday to Sunday) or calendar months; the first and the last are cut to the period. Every bucket is present, an empty one with zeros.

get/v1/sites/{site_id}/contacts/stats/timeline

Request

  • Base URL
    https://api.getsitecontrol.com
  • Auth
    HTTP bearer

Path parameters

site_idinteger required

Query parameters

interval'day' | 'week' | 'month'

day, calendar week (Monday to Sunday) or calendar month.

Bucket length

fromstring date required

First day of the period, UTC, included

tostring date

Last day of the period, UTC, included; today when omitted

Response

Successful Response

interval'day' | 'week' | 'month' required

day, calendar week (Monday to Sunday) or calendar month.

Changes

No recorded changes to this operation across all 1 revision of this API.