Skip to main content
GET
curl

Authorizations

Authorization
string
header
required

A key generated from Settings → Developers, sent as Authorization: Bearer dr_live_<12 hex chars>_<64 hex chars>. Keys carry explicit scopes — each endpoint states the one it requires. The full key is shown exactly once at generation time and cannot be retrieved again; only the keyId prefix is shown afterward. A revoked key fails auth on its very next request.

Path Parameters

id
string<uuid>
required

The document's id.

Query Parameters

from
string<date-time>
required

Start of the range, inclusive. RFC 3339 with Z or a numeric offset.

to
string<date-time>
required

End of the range, exclusive. RFC 3339 with Z or a numeric offset. At most 366 days after from.

Response

One row per channel with traffic or leads in the range.

documentId
string<uuid>
required

The id of the document the numbers are for.

from
string<date-time>
required

Start of the range as requested, in UTC (inclusive).

to
string<date-time>
required

End of the range as requested, in UTC (exclusive).

channels
object[]
required

Sorted by views descending, ties by channel. Empty when there is nothing in the range.