---
title: "GET /api/marketing/campaigns"
method: GET
path: "/api/marketing/campaigns"
tags: ["api", "marketing"]
---

# GET /api/marketing/campaigns

`GET /api/marketing/campaigns`

Get All Marketing Campaigns

## Query parameters

- `top` integer, required — A limit on the number of objects to be returned. Can range between 1 and 1000.
- `skip` integer, required — The number of objects to skip for the requested result
- `name` string

## Response `200`

OK

- object
  - `docs` CampaignResource[], required
    - `_id` string, required — The ID of the marketing campaign
    - `name` string, required — The name of the marketing campaign
    - `code` string, required — The code of the marketing campaign
    - `createdBy` object, required — The entity that created this marketing campaign
      - `type` 'USER' | 'APP' | 'API_KEY' | 'SYSTEM', required — The type of the entity
      - `id` string, required — The ID of the entity
    - `sellerId` string, required — The ID of the seller owning the marketing campaign
    - `isArchived` boolean, required — Whether the marketing campaign is archived or not.
    - `createdAt` string, date-time, required — An ISO timestamp indicating when the marketing campaign was created.
    - `updatedAt` string, date-time, required — An ISO timestamp indicating when the marketing campaign was updated.
  - `total` number, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
