---
title: "Get Campaign Preview"
method: GET
path: "/api/v1/campaigns/{code}"
tags: ["campaigns"]
---

# Get Campaign Preview

`GET /api/v1/campaigns/{code}`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/api/v1/campaigns/{code}`
- Auth: none declared

Public preview of a campaign, shown on the QR landing page.

Unknown and revoked codes both return 404.

## Path parameters

- `code` string, required

## Response `200`

Successful Response

- CampaignPreviewResponse
  - `name` string, required
  - `trial_credit_eur` number, required
  - `status` string, required
  - `expires_at` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
