TryzenAPI
Stats

Per-step performance with the A/B comparison

GET
/v1/campaigns/{campaignId}/analytics/steps

Access: an API key (or an org-wide key naming the workspace) with view on campaigns.

One row per step of the current sequence, in reading order (yes branch first), all-time. total counts every decided attempt (succeeded, skipped, failed, requeued, excluded) and counts.succeeded the successful ones; counts.skipped = the step ran but the driver had nothing to do (a like with no post in the window), always filled. Acceptances and first replies are credited to the step that earned them (the lead's latest invite; the last contact step before the reply). variants compares the A/B variants of steps that have two or more. waiting = leads at that step now.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

campaignId*string
Match^[0-9a-f]{24}$

Response Body

Default Response

application/json
  1. response
steps*array<>
Example Request
curl -X GET 'https://api.tryzen.co/v1/campaigns/string/analytics/steps'
Example Response
{  "steps": [    {      "nodeId": "string",      "type": "if_connected",      "label": "string",      "position": 1,      "depth": 0,      "branch": "yes",      "counts": {        "succeeded": 0,        "failed": 0,        "requeued": 0,        "excluded": 0,        "accepted": 0,        "replied": 0,        "skipped": 0      },      "total": 0,      "rates": {        "success": 0,        "acceptance": 0,        "reply": 0      },      "waiting": 0,      "variants": [        {          "variant": 0,          "label": "string",          "preview": "string",          "counts": {            "succeeded": 0,            "failed": 0,            "requeued": 0,            "excluded": 0,            "accepted": 0,            "replied": 0,            "skipped": 0          },          "total": 0,          "rates": {            "success": 0,            "acceptance": 0,            "reply": 0          }        }      ]    }  ]}