GET
/
api
/
automations
/
{id}
/
statistics
Get Statistics for Tenant Automation
curl --request GET \
  --url https://api.embedreach.com/api/automations/{id}/statistics
{
  "success": true,
  "message": "<string>",
  "data": {
    "sms": {
      "numberSent": 123,
      "linksClicked": 123,
      "openPercentage": 123,
      "softBounceRate": 123,
      "hardBounceRate": 123,
      "spamComplaintRate": 123,
      "unsubscribedRate": 123
    },
    "email": {
      "numberSent": 123,
      "linksClicked": 123,
      "openPercentage": 123,
      "softBounceRate": 123,
      "hardBounceRate": 123,
      "spamComplaintRate": 123,
      "unsubscribedRate": 123
    }
  }
}

Headers

reach-tenant-id
string

If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.

Path Parameters

id
string
required

The id of the tenant automation

Query Parameters

startDate
string | null

The start date of the statistics

endDate
string | null

The end date of the statistics

Response

200
application/json

Status 200 response

The response is of type object.