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ázev | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
kind | path | one of: sent, opened, clicked, bounced, unsubscribed, unopened | ano | |
jobid | query | integer | ano |
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 404 | Not Found | |
| 422 | Validation failed: <parameter> | |
| 429 | Rate limit exceeded (...) |
contact_statuschanges
GET /api/csv/contact-statuschanges
Odpovědi
- 200 OK:
application/jsonany
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ázev | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
kind | path | one of: sent, opened, clicked, bounced, unsubscribed | ano | |
jobid | query | integer | ano |
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 404 | Not Found | |
| 422 | Validation failed: <parameter> | |
| 429 | Rate limit exceeded (...) |
The automations whose trigger listens to a list (CSV)
GET /api/csv/list-autoresponders
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
listid | query | integer | ano |
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 422 | Validation failed: <parameter> | |
| 429 | Rate limit exceeded (...) |
Members of a list (CSV)
GET /api/csv/list-contacts
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
listid | query | integer | ano |
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 404 | Not Found | |
| 422 | Validation failed: <parameter> | |
| 429 | Rate limit exceeded (...) |
The campaigns started to a list (CSV)
GET /api/csv/list-newsletter
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
listid | query | integer | ano |
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 422 | Validation failed: <parameter> | |
| 429 | Rate limit exceeded (...) |
E-mail statistic ids of the started campaigns (CSV)
GET /api/csv/list-newsletter-ids
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 429 | Rate 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ázev | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
kind | path | one of: sent, opened, clicked, bounced, unsubscribed, unopened | ano | |
jobid | query | integer | ano |
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 404 | Not Found | |
| 422 | Validation failed: <parameter> | |
| 429 | Rate 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/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 429 | Rate 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ázev | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
automation_id | path | integer | ano |
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 429 | Rate 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ázev | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
kind | path | one of: sent, opened, clicked, bounced, unsubscribed | ano | |
sid | path | string | ano | c<campaign id> or a<automation id>:<node key>. |
interval_from | query | string | ne | YYYY-MM-DD HH:MM:SS local time. |
interval_to | query | string | ne | YYYY-MM-DD HH:MM:SS local time. |
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 404 | Not Found | |
| 422 | Validation failed: <parameter> | |
| 429 | Rate limit exceeded (...) |
Displays of a web form (CSV)
GET /api/csv/webform-displays
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
formid | query | integer | ano |
Odpovědi
- 200 OK:
text/csvstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | Authentication Failed | |
| 403 | Forbidden | |
| 422 | Validation failed: <parameter> | |
| 429 | Rate limit exceeded (...) |
Schémata
SeError
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
status | error | ano | |
meta | array of any | ne | |
message | string | ano |
{
"status": "error",
"meta": [],
"message": "Authentication Failed"
}