Skip to main content
GET
Get bonus milestone dates

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Path Parameters

id
string
required

The id.

Query Parameters

milestones
string
required

Comma-separated milestone view counts, e.g. "100000,500000". Required (400 if missing).

isAggregate
enum<string>
required

"true" for the contract aggregate, "false" for per-video. Required (400 if missing).

Available options:
true,
false
postIds
string

Comma-separated post ids; required for the per-video path (isAggregate=false).

Response

The dates each requested bonus milestone was crossed.

data
object
required

The dates each bonus milestone was crossed for a contract, derived from daily-snapshot data. Only one of the two date maps is populated depending on isAggregate.