GET
/
v1
/
campaign
curl --request GET \
  --url https://api.themagicdrip.com/v1/campaign \
  --header 'x-api-key: <api-key>'
{
  "campaigns": [
    {
      "workflowId": "workflow-123",
      "userId": "user-456",
      "name": "My Campaign",
      "sequence": [
        {
          "nodeId": 1,
          "delay": 5000,
          "taskType": {
            "typeId": 1,
            "typeName": "Type A"
          },
          "taskData": {
            "note": "Optional note",
            "message": "Hello, world!"
          },
          "neighbors": [
            {
              "nodeId": 2
            }
          ]
        },
        {
          "nodeId": 2,
          "delay": 3000,
          "taskType": {
            "typeId": 2,
            "typeName": "Type B"
          },
          "taskData": {
            "altMessage": "Alternative message"
          },
          "neighbors": []
        }
      ],
      "active": true,
      "archived": false,
      "totalLeadsAdded": 100,
      "totalLeadsAccepted": 50,
      "connectionRequestCount": 20,
      "messageCount": 30,
      "profileViewCount": 40,
      "likeCount": 10,
      "followCount": 5,
      "inMailCount": 15,
      "withdrawCount": 8,
      "replyCount": 25,
      "acceptCount": 12,
      "excludeLeadsFoundInOtherWorkflows": true,
      "excludeLeadsWithNoPhoto": false,
      "createdAt": "2023-01-15T12:00:00Z",
      "updatedAt": "2023-06-30T09:30:00Z"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Response

200
application/json
Campaign response
campaigns
object[]
required

List of campaigns