Export a client's white-label report
GET /api/v1/projects/{project}/report/export
The client report under the workspace's name, colour, logo and footer (set under Settings → Branding) and nothing of Sniffington's: no link back, no product name. format html (default; print=true opens the browser's print dialog, so Save as PDF), text, csv (the numbers and the top posts) or json. The last `days` (default 7).
Any API key or OAuth token, or a signed-in member.
Parameters
| Name | Type | Description |
|---|---|---|
project requiredpath |
string | The project's id. |
formatquery |
string | One of: html text csv json |
daysquery |
integer 1–90 |
|
printquery |
boolean |
Returns
{ data: { filename, content_type, content, stats } }
Example
curl "https://sniffington.com/api/v1/projects/{project}/report/export" \
-H "Authorization: Bearer $SCOUT_API_KEY"