Skip to main content
GET
Revenue, commissions, customers, and clicks over time

Authorizations

Authorization
string
header
required

Tolt API key sent as a bearer token.

Query Parameters

program_id
string

Limit to one program, by its id (prg_...) as returned when listing programs.

start_date
string<date>

Earliest day to include, by creation date (customers by the day they became active). Leave it out for no lower bound.

end_date
string<date>

Latest day to include, by creation date (customers by the day they became active); the whole day counts. Leave it out for no upper bound.

granularity
enum<string>
default:month

Bucket size of the series; weeks start on Monday, months on the 1st, and each bucket is labeled with its first day.

Available options:
day,
week,
month
currency
string

Only include transactions and commissions in this currency, such as USD; matching ignores case. Rows without their own currency use their program's.

Minimum string length: 1

Response

One point per non-empty period

success
boolean
required
Example:

true

message
string
required
Example:

"Request successful"

data
object[]
required