For the complete documentation index, see llms.txt. This page is also available as Markdown.

List active campaigns

Returns all active campaigns for the store.

get
Authorizations
AuthorizationstringRequired

All requests require Authorization: Bearer sl_live_<your_api_key>. Generate a key from the Shoplift admin's API Keys settings page.

Responses
200

OK

application/json
get/api/public/v1/campaigns/active
GET /api/public/v1/campaigns/active HTTP/1.1
Host: app.shoplift.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "campaigns": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "objective": null,
      "goal": null,
      "status": "active",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "progress": {
        "total": 1,
        "live": 1,
        "paused": 1,
        "draft": 1,
        "ended": 1
      }
    }
  ]
}

Last updated

Was this helpful?