Přeskočit na obsah
API dokumentace

Statistiky CSV jako ve SmartEmailingu

CSV se středníky jako /api/csv SmartEmailingu: id statistik e-mailů, události kontaktů a členové seznamů.

Technická reference je anglicky (stejně jako strojově čitelný dokument OpenAPI). Celou skupinu pro AI agenta načtete z /api/openapi.json?tag=SmartEmailing%20CSV.

Operace

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.

Parametry

NázevKdeTypPovinnéPopis
kindpathone of: sent, opened, clicked, bounced, unsubscribed, unopenedano
jobidqueryintegerano

Odpovědi

  • 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

Odpovědi

  • 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).

Parametry

NázevKdeTypPovinnéPopis
kindpathone of: sent, opened, clicked, bounced, unsubscribedano
jobidqueryintegerano

Odpovědi

  • 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

Parametry

NázevKdeTypPovinnéPopis
listidqueryintegerano

Odpovědi

  • 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

Parametry

NázevKdeTypPovinnéPopis
listidqueryintegerano

Odpovědi

  • 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

Parametry

NázevKdeTypPovinnéPopis
listidqueryintegerano

Odpovědi

  • 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

Odpovědi

  • 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.

Parametry

NázevKdeTypPovinnéPopis
kindpathone of: sent, opened, clicked, bounced, unsubscribed, unopenedano
jobidqueryintegerano

Odpovědi

  • 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

Odpovědi

  • 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}

Parametry

NázevKdeTypPovinnéPopis
automation_idpathintegerano

Odpovědi

  • 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}

Parametry

NázevKdeTypPovinnéPopis
kindpathone of: sent, opened, clicked, bounced, unsubscribedano
sidpathstringanoc<campaign id> or a<automation id>:<node key>.
interval_fromquerystringneYYYY-MM-DD HH:MM:SS local time.
interval_toquerystringneYYYY-MM-DD HH:MM:SS local time.

Odpovědi

  • 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

Parametry

NázevKdeTypPovinnéPopis
formidqueryintegerano

Odpovědi

  • 200 OK: text/csv string

Chyby

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

Schémata

SeError

PoleTypPovinnéPopis
statuserrorano
metaarray of anyne
messagestringano
json
{
  "status": "error",
  "meta": [],
  "message": "Authentication Failed"
}