---
title: "Get PromoCode By Code"
method: GET
path: "/promocodes/{code}"
tags: ["promocodes"]
---

# Get PromoCode By Code

`GET /promocodes/{code}`

get promocode by code

## Path parameters

- `code` string, required

## Response `200`

OK

- DomainPromoCode
  - `code` string
  - `discountPercentage` integer
  - `expiresAt` string
  - `id` string
  - `offerIds` string[]
  - `schoolId` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error
- `default` — Default response

## Changes

- **2021-02-24** `2a120aa02d41` — 1 info
  - endpoint added
- **2021-02-04** `0677335332a8` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/creatly/apis/creatly-api/changes/promocodes/:code/get.md)

---

[API](https://skmtc.dev/creatly/apis/creatly-api.md) · [All operations](https://skmtc.dev/creatly/apis/creatly-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/creatly/creatly-api/revisions/513aaee36614/schema)
