TryzenAPI
Campaigns

Campaigns in this workspace, newest change first

GET
/v1/campaigns

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

Filters: search (part of the name, case-insensitive), status (repeat the key for several), senderId (campaigns this sender is in), leadId (campaigns this lead is enrolled in). Keyset paging: up to limit (≤ 100, default 100) rows; pass nextCursor back as cursor for the next page (null on the last). A malformed cursor is 400 invalid_cursor.

Authorization

apiKey
headerx-api-key<token>

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

Query Parameters

search?string
Lengthlength <= 200
status?|array<>
senderId?string
Match^[0-9a-f]{24}$
leadId?string
Match^[0-9a-f]{24}$
cursor?string
Length1 <= length <= 200
limit?integer
Range1 <= value <= 100
Default100

Response Body

Default Response

application/json
  1. response
campaigns*array<>
nextCursor*string|null
Example Request
curl -X GET 'https://api.tryzen.co/v1/campaigns'
Example Response
{  "campaigns": [    {      "id": "string",      "name": "string",      "status": "draft",      "listName": "string",      "senderCount": 0,      "senders": [        {          "id": "string",          "name": "string",          "pictureUrl": "string"        }      ],      "launchedAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "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      }    }  ],  "nextCursor": "string"}