GET
/
v1
/
accounts
/
{accountId}
/
dripcampaigns
Fetch Account Drip Campaigns
curl --request GET \
  --url https://api.sakari.io/v1/accounts/{accountId}/dripcampaigns
{
  "success": true,
  "pagination": {
    "totalCount": 123,
    "limit": 123,
    "offset": 123,
    "hasNext": true
  },
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "trigger": {
        "type": "<string>",
        "message": "<string>",
        "groups": [
          {
            "id": "<string>",
            "name": "<string>",
            "phoneNumbers?": [
              {
                "id": "<any>",
                "name": "<any>",
                "status": "<any>",
                "number": "<any>",
                "country": "<any>",
                "type": "<any>",
                "verified": "<any>",
                "provider": "<any>",
                "supportedDestinations": "<any>",
                "forwardTo": "<any>",
                "universalReply": "<any>",
                "channels": "<any>",
                "groups": "<any>",
                "hosted": "<any>"
              }
            ],
            "notifications": [
              {
                "destination": "<any>",
                "integration": "<any>",
                "group": "<any>"
              }
            ],
            "tags": [
              "<string>"
            ],
            "users": [
              {
                "id": "<any>",
                "firstName": "<any>",
                "lastName": "<any>",
                "email": "<any>",
                "mobile": "<any>",
                "role": "<any>"
              }
            ],
            "senders": [
              {
                "id": "<any>",
                "type": "<any>",
                "subType": "<any>",
                "status": "<any>",
                "identifier": "<any>",
                "channels": "<any>",
                "groups": "<any>",
                "created": "<any>",
                "updated": "<any>"
              }
            ],
            "officeHours": {
              "active": true,
              "timezone": "<string>",
              "times": {
                "sun": "<any>",
                "mon": "<any>",
                "tue": "<any>",
                "wed": "<any>",
                "thu": "<any>",
                "fri": "<any>",
                "sat": "<any>"
              }
            },
            "isDefault": true,
            "useSharedPool": true
          }
        ],
        "list": {
          "id": "<string>",
          "name": "<string>",
          "source": {
            "id": "<string>",
            "integration": "<string>",
            "lastSynced": "<string>"
          },
          "keyword": "<string>",
          "doubleOptIn": {
            "enabled": true,
            "prompt": "<string>"
          },
          "filter": {
            "q": "<string>",
            "attributes": [
              {
                "attribute": "<string>",
                "comparator": "<string>",
                "value": [
                  "<string>"
                ]
              }
            ],
            "list": "<string>",
            "valid": true,
            "invalid": true,
            "blocked": true,
            "unblocked": true,
            "optIn": true
          },
          "optInConfirmation": "<string>"
        },
        "group": {
          "id": "<string>",
          "name": "<string>",
          "phoneNumbers?": [
            {
              "id": "<any>",
              "name": "<any>",
              "status": "<any>",
              "number": "<any>",
              "country": "<any>",
              "type": "<any>",
              "verified": "<any>",
              "provider": "<any>",
              "supportedDestinations": "<any>",
              "forwardTo": "<any>",
              "universalReply": "<any>",
              "channels": "<any>",
              "groups": "<any>",
              "hosted": "<any>"
            }
          ],
          "notifications": [
            {
              "destination": "<any>",
              "integration": "<any>",
              "group": "<any>"
            }
          ],
          "tags": [
            "<string>"
          ],
          "users": [
            {
              "id": "<any>",
              "firstName": "<any>",
              "lastName": "<any>",
              "email": "<any>",
              "mobile": "<any>",
              "role": "<any>"
            }
          ],
          "senders": [
            {
              "id": "<any>",
              "type": "<any>",
              "subType": "<any>",
              "status": "<any>",
              "identifier": "<any>",
              "channels": "<any>",
              "groups": "<any>",
              "created": "<any>",
              "updated": "<any>"
            }
          ],
          "officeHours": {
            "active": true,
            "timezone": "<string>",
            "times": {
              "sun": "<any>",
              "mon": "<any>",
              "tue": "<any>",
              "wed": "<any>",
              "thu": "<any>",
              "fri": "<any>",
              "sat": "<any>"
            }
          },
          "isDefault": true,
          "useSharedPool": true
        },
        "delay": {
          "days": 123,
          "hours": 123,
          "minutes": 123
        }
      },
      "messages": [
        {
          "id": "<string>",
          "message": "<string>",
          "media": [
            {
              "url": "<string>",
              "type": "<string>",
              "name": "<string>",
              "filename": "<string>"
            }
          ],
          "delay": {
            "days": 123,
            "hours": 123,
            "minutes": 123
          },
          "stats": {
            "entered": 123,
            "active": 123,
            "errored": 123,
            "noAction": 123,
            "optOut": 123,
            "engaged": 123
          }
        }
      ],
      "active": true,
      "maxDuration": 123,
      "stats": {
        "entered": 123,
        "active": 123,
        "errored": 123,
        "noAction": 123,
        "optOut": 123,
        "engaged": 123
      },
      "created": {
        "at": "<any>",
        "by": "<any>"
      },
      "updated": {
        "at": "<any>",
        "by": "<any>"
      }
    }
  ]
}

Path Parameters

accountId
string
required

Account to apply operations to

Query Parameters

offset
integer

Results to skip when paginating through a result set

Required range: x >= 0
limit
integer

Maximum number of results to return

Required range: 1 <= x <= 100

Response

200
application/json

successful operation

The response is of type object.