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

# GET /api/marketing/short-links

`GET /api/marketing/short-links`

Get All Short Links

## 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
- `campaignId` string
- `target` string

## Response `200`

OK

- object
  - `docs` ShortLinkResource[], required
    - `_id` string, required — The ID of the link.
    - `code` string, required — The code of the link.
    - `campaignId` string — The ID of the campaign of the link.
    - `sellerId` string, required — The ID of the seller owning the link
    - `target` string, uri — The target of the link.
    - `utmCampaign` string — The UTM campaign of the link.
    - `utmSource` string — The UTM source of the link.
    - `utmMedium` string — The UTM medium of the link.
    - `utmContent` string — The UTM content of the link.
    - `utmTerm` string — The UTM term of the link.
    - `isArchived` boolean, required — Whether the link is archived or not.
    - `createdAt` string, date-time, required — An ISO timestamp indicating when the short link was created.
    - `updatedAt` string, date-time, required — An ISO timestamp indicating when the short link 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)
