Email statistics of the automation
Permission
automations:readRate limit readsUnique contacts per outcome, in total and per send step (keyed by node uuid). The total also counts events of emails sent before sends were recorded per step.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Path parameters
idintegerrequiredRequestcURL
curl --request GET \ --url 'https://api.estage.com/v1/automations/automation-id/stats' \ --header 'ESTAGE-API-Key: est_live_your-api-key'
OK
{
"data": {
"total": {
"sent": 9,
"delivered": 9,
"opened": 5,
"clicked": 2,
"bounced": 0,
"complaints": 0,
"failed": 0
},
"nodes": {
"n-email": {
"sent": 9,
"delivered": 9,
"opened": 5,
"clicked": 2,
"bounced": 0,
"complaints": 0,
"failed": 0
}
}
}
}Example. Errors are
{ error: { code, message, details } }.