TryzenAPI
Exports

Dashboard as CSV

GET
/v1/stats/exports/dashboard.csv

Access: an API key (or an org-wide key naming the workspace) with view on campaigns.

text/csv: one line per UTC day of the range with every counter, then a total line with the rates. Same query as GET /v1/stats/dashboard.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Query Parameters

from?string
Match^\d{4}-\d{2}-\d{2}$
to?string
Match^\d{4}-\d{2}-\d{2}$
campaignId?string
Match^[0-9a-f]{24}$
senderId?string
Match^[0-9a-f]{24}$

Response Body

Default Response

application/json
  1. response
ok*boolean
error*
Example Request
curl -X GET 'https://api.tryzen.co/v1/stats/exports/dashboard.csv'
Example Response4XX
{  "ok": false,  "error": {    "code": "string",    "message": "string",    "problems": [      {        "code": "string",        "parameter": "string",        "message": "string"      }    ]  }}