Campaigns in this workspace, newest change first
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.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
search?stringlength <= 200status?|array<>senderId?string^[0-9a-f]{24}$leadId?string^[0-9a-f]{24}$cursor?string1 <= length <= 200limit?integer1 <= value <= 100100Default Response
application/json- response
campaigns*array<>nextCursor*string|nullcurl -X GET 'https://api.tryzen.co/v1/campaigns'{ "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"}Change the workspace's sending settings PATCH
**Access:** an API key (or an org-wide key naming the workspace) with manage on `senders`. Only the fields you send change. The engine reads the setting at each refused or prepared invite, so it applies from the next one. An account that is already waiting for its credits keeps waiting until they return.
Create a draft campaign POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `campaigns`.