API Docs

Leads

Found 2 routes
POST

count

/api/v3/leads/count

This route returns the lead count for all of an account's riddles.

E.g. [123 => 23, 124 => 66] => riddle 123 has 23 leads, riddle 124 has 66 leads.
Note: if the namespace is 'riddle' an array with the riddleID + the count of the Riddle leads itself will be returned.
JSON parameters
Name Type Required Description
riddle string if you want to get the count for a riddle supply the riddle UUID; otherwise the current user / team will be used
POST

trend

/api/v3/leads/trend

This route returns the lead trend for either a whole user/team or just for one specific Riddle.

E.g. [2022-06-10 => 5, 2022-06-11 => 2, 2022-06-12 => 7, ...]
JSON parameters
Name Type Required Description
riddle string if you want to get the trend for a specific riddle supply the riddle UUID; otherwise the current user / team will be used
days int how many days back you want to get the trend; max 7 days