Workspace dashboard: sends, acceptances and replies over a range
Access: an API key (or an org-wide key naming the workspace) with view on campaigns.
Sums of the daily campaign counters between from and to (UTC days YYYY-MM-DD, both included; default: the last 30 days, today included; at most 366 days). campaignId and senderId narrow every number to one campaign or one sender. series has one point per day, zeros included. Rates are outcome ÷ sends in the same range (null when nothing was sent), so over a short range an acceptance rate can exceed 1. Campaign progress is the leads' current state, not ranged. 422 range_inverted | range_too_long; 404 campaign_not_found | sender_not_found for an id that isn't in this workspace.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
from?string^\d{4}-\d{2}-\d{2}$to?string^\d{4}-\d{2}-\d{2}$campaignId?string^[0-9a-f]{24}$senderId?string^[0-9a-f]{24}$Default Response
application/json- response
range*filters*totals*series*array<>senders*array<>campaigns*array<>curl -X GET 'https://api.tryzen.co/v1/stats/dashboard'{ "range": { "from": "string", "to": "string", "days": 1 }, "filters": { "campaignId": "string", "senderId": "string" }, "totals": { "counts": { "connSent": 0, "connAccepted": 0, "inviteWithdrawn": 0, "msgSent": 0, "msgReplied": 0, "inmailSent": 0, "inmailReplied": 0, "voiceSent": 0, "voiceReplied": 0, "autotagged": 0, "interested": 0, "failed": 0, "excluded": 0, "finished": 0, "profileViewed": 0, "followed": 0, "postLiked": 0 }, "rates": { "acceptance": 0, "messageReply": 0, "inmailReply": 0, "voiceReply": 0, "interested": 0 } }, "series": [ { "day": "string", "counts": { "connSent": 0, "connAccepted": 0, "inviteWithdrawn": 0, "msgSent": 0, "msgReplied": 0, "inmailSent": 0, "inmailReplied": 0, "voiceSent": 0, "voiceReplied": 0, "autotagged": 0, "interested": 0, "failed": 0, "excluded": 0, "finished": 0, "profileViewed": 0, "followed": 0, "postLiked": 0 } } ], "senders": [ { "senderId": "string", "name": "string", "counts": { "connSent": 0, "connAccepted": 0, "inviteWithdrawn": 0, "msgSent": 0, "msgReplied": 0, "inmailSent": 0, "inmailReplied": 0, "voiceSent": 0, "voiceReplied": 0, "autotagged": 0, "interested": 0, "failed": 0, "excluded": 0, "finished": 0, "profileViewed": 0, "followed": 0, "postLiked": 0 }, "rates": { "acceptance": 0, "messageReply": 0, "inmailReply": 0, "voiceReply": 0, "interested": 0 }, "activeCampaigns": 0 } ], "campaigns": [ { "campaignId": "string", "name": "string", "status": "draft", "counts": { "connSent": 0, "connAccepted": 0, "inviteWithdrawn": 0, "msgSent": 0, "msgReplied": 0, "inmailSent": 0, "inmailReplied": 0, "voiceSent": 0, "voiceReplied": 0, "autotagged": 0, "interested": 0, "failed": 0, "excluded": 0, "finished": 0, "profileViewed": 0, "followed": 0, "postLiked": 0 }, "rates": { "acceptance": 0, "messageReply": 0, "inmailReply": 0, "voiceReply": 0, "interested": 0 }, "progress": { "pending": 0, "inSequence": 0, "finished": 0, "failed": 0, "excluded": 0 } } ]}Cancel a queued direct action POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `campaigns`. Only while `queued` and no earlier attempt may have reached LinkedIn (a requeued write waiting to be verified): otherwise, and once the sender's loop claimed it (`running`) or it ended, `409 action_not_cancelable`. Canceling an action that is already `canceled` answers it again. `404 action_not_found`.
Per-step performance with the A/B comparison GET
**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.