Preskočiť na obsah
API dokumentácia

Štatistiky CSV ako v SmartEmailingu

CSV s bodkočiarkami ako /api/csv SmartEmailingu: id štatistík e-mailov, udalosti kontaktov a členovia zoznamov.

Technická referencia je v angličtine (rovnako ako strojovo čitateľný dokument OpenAPI). Celú skupinu pre AI agenta načítate z /api/openapi.json?tag=SmartEmailing%20CSV.

Operácie

Per-contact statistics of the e-mails of an automation (SE autoresponder), jobid = the automation id

GET /api/csv/autoresponder-{kind}

Per-contact statistics of the e-mails of an automation (SE autoresponder), jobid = the automation id.

Parametre

NázovKdeTypPovinnéPopis
kindpathone of: sent, opened, clicked, bounced, unsubscribed, unopenedáno
jobidqueryintegeráno

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
404Not Found
422Validation failed: <parameter>
429Rate limit exceeded (...)

contact_statuschanges

GET /api/csv/contact-statuschanges

Odpovede

  • 200 OK: application/json any

Per-contact statistics of an API campaign (SE custom e-mails), jobid = its id (GET /api/v3/send/custom-emails)

GET /api/csv/custom-email-{kind}

Per-contact statistics of an API campaign (SE custom e-mails), jobid = its id (GET /api/v3/send/custom-emails).

Parametre

NázovKdeTypPovinnéPopis
kindpathone of: sent, opened, clicked, bounced, unsubscribedáno
jobidqueryintegeráno

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
404Not Found
422Validation failed: <parameter>
429Rate limit exceeded (...)

The automations whose trigger listens to a list (CSV)

GET /api/csv/list-autoresponders

Parametre

NázovKdeTypPovinnéPopis
listidqueryintegeráno

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
422Validation failed: <parameter>
429Rate limit exceeded (...)

Members of a list (CSV)

GET /api/csv/list-contacts

Parametre

NázovKdeTypPovinnéPopis
listidqueryintegeráno

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
404Not Found
422Validation failed: <parameter>
429Rate limit exceeded (...)

The campaigns started to a list (CSV)

GET /api/csv/list-newsletter

Parametre

NázovKdeTypPovinnéPopis
listidqueryintegeráno

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
422Validation failed: <parameter>
429Rate limit exceeded (...)

E-mail statistic ids of the started campaigns (CSV)

GET /api/csv/list-newsletter-ids

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
429Rate limit exceeded (...)

Per-contact statistics of a campaign (SE newsletter), jobid = the campaign id

GET /api/csv/newsletter-{kind}

Per-contact statistics of a campaign (SE newsletter), jobid = the campaign id.

Parametre

NázovKdeTypPovinnéPopis
kindpathone of: sent, opened, clicked, bounced, unsubscribed, unopenedáno
jobidqueryintegeráno

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
404Not Found
422Validation failed: <parameter>
429Rate limit exceeded (...)

E-mail statistic ids of automation e-mail nodes

GET /api/csv/statistics/email/automation-email-statistic-id

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
429Rate limit exceeded (...)

E-mail statistic ids of automation e-mail nodes of one automation

GET /api/csv/statistics/email/automation-email-statistic-id/{automation_id}

Parametre

NázovKdeTypPovinnéPopis
automation_idpathintegeráno

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
429Rate limit exceeded (...)

Per-contact events of an e-mail statistic id (sent, opened, clicked, bounced, unsubscribed)

GET /api/csv/statistics/email/{kind}-detail/{sid}

Parametre

NázovKdeTypPovinnéPopis
kindpathone of: sent, opened, clicked, bounced, unsubscribedáno
sidpathstringánoc<campaign id> or a<automation id>:<node key>.
interval_fromquerystringnieYYYY-MM-DD HH:MM:SS local time.
interval_toquerystringnieYYYY-MM-DD HH:MM:SS local time.

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
404Not Found
422Validation failed: <parameter>
429Rate limit exceeded (...)

Displays of a web form (CSV)

GET /api/csv/webform-displays

Parametre

NázovKdeTypPovinnéPopis
formidqueryintegeráno

Odpovede

  • 200 OK: text/csv string

Chyby

StavKódHodnoty message
401Authentication Failed
403Forbidden
422Validation failed: <parameter>
429Rate limit exceeded (...)

Schémy

SeError

PoleTypPovinnéPopis
statuserroráno
metaarray of anynie
messagestringáno
json
{
  "status": "error",
  "meta": [],
  "message": "Authentication Failed"
}