Automation stats

How an automation is doing over the last 30 days (range=30d, the default) or all time (range=all): how many started, are in it now, finished and left…

GEThttps://app.usenotix.dev/api/v1/automations/{id}/stats

Full access and read only keys can call this. Sending access keys cannot. Key permissions lists the extra rules some calls have.

How an automation is doing over the last 30 days (range=30d, the default) or all time (range=all): how many started, are in it now, finished and left early, each step's sends, opens and clicks, and why people left. Counts only; no contact is named.

Path parameters

idstringrequired

Query parameters

rangestring

30d (the default) or all.

One of 30d, all.

Headers

Authorizationstringrequired

Bearer followed by your API key.

Errors

404

No journey with this id for the calling team (or, for a pinned key, on its domain)

Every error has the same shape. See all error codes.

curl -X GET "https://app.usenotix.dev/api/v1/automations/<id>/stats" \
  -H "Authorization: Bearer $NOTIX_API_KEY"
Response200
{
  "journey": {
    "id": "cm1x8f3k20001qz7v5b9d2e4a",
    "name": "Acme",
    "status": "string",
    "triggerType": "string"
  },
  "range": "30d",
  "totals": {
    "started": 1,
    "inJourneyNow": 1,
    "finished": 1,
    "leftEarly": 1,
    "sent": 1,
    "openRate": 1
  },
  "teamOpenRate": 1,
  "headline": "string",
  "insights": [
    {
      "tone": "ok",
      "text": "Thanks for your order."
    }
  ],
  "steps": [
    {
      "kind": "entry",
      "stepId": "cm1x8f3k20001qz7v5b9d2e4a",
      "label": "string",
      "reached": 1,
      "opened": 1,
      "clicked": 1,
      "openRate": 1,
      "clickRate": 1
    }
  ],
  "exits": [
    {
      "reason": "string",
      "label": "string",
      "count": 1
    }
  ]
}
Open in ClaudeOpen in ChatGPT