TryzenAPI
Campaigns

One campaign: settings and its sequence (the draft, or the current version)

GET
/v1/campaigns/{campaignId}

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

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
campaign*
Example Request
curl -X GET 'https://api.tryzen.co/v1/campaigns/string'
Example Response
{  "campaign": {    "id": "string",    "name": "string",    "status": "draft",    "revision": 0,    "listId": "string",    "excludeListId": "string",    "exclusions": {      "otherCampaigns": false,      "otherSenderConversations": false,      "sameSenderOtherCampaigns": false,      "blacklistLeads": true,      "blacklistCompanies": true    },    "senderIds": [      "string"    ],    "schedule": {      "tz": "string",      "days": [        "mon"      ],      "from": "string",      "to": "string",      "startDate": "string",      "endDate": "string"    },    "sequence": {      "rootId": "string",      "nodes": {        "property1": {          "type": "if_connected",          "config": {},          "delay": {            "value": 0,            "unit": "hours"          },          "branches": {            "yes": "string",            "no": "string"          }        },        "property2": {          "type": "if_connected",          "config": {},          "delay": {            "value": 0,            "unit": "hours"          },          "branches": {            "yes": "string",            "no": "string"          }        }      }    },    "sequenceVersion": 1,    "launchedAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}