Skip to main content
GET
Stats overview

Authorizations

Authorization
string
header
required

Link access token for one Sandbox, Test, or Live authorization.

x-linked-account-id
string
header
required

Selects one of the authorization's linked accounts via the x-linked-account-id header.

Headers

x-linked-account-id
string
required

The linked account to use. The user must have shared it with your app. A missing account returns linked_account_required; an account outside your access returns linked_account_not_granted.

Example:

"conn_example123"

Query Parameters

startDate
string

Start date. Keep this date when requesting older results.

endDate
string

End date. Use an earlier date to request older results.

by
string

Group the results by this value. Values include messages, trials, and fans; other values may also be accepted.

Response

Successful response

earning
object
required
massMessages
object
required
posts
object
required
streams
object
required
visitors
object
required