---
title: "Get the number of available promotional codes"
method: GET
path: "/api/v1/promocodes/count"
tags: ["Messages"]
---

# Get the number of available promotional codes

`GET /api/v1/promocodes/count`

## Request

- Base URL: `https://yespo.io` (the document declares no server; this is the origin it was published from)
- URL: `https://yespo.io/api/v1/promocodes/count`
- Auth: HTTP basic

The method returns the number of available promo codes.

## Query parameters

- `type` string
- `activeDueDays` integer
- `discount` integer

## Response `200`

default response

---

[API](https://skmtc.dev/yespo/apis/yespo-api.md) · [All operations](https://skmtc.dev/yespo/apis/yespo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/yespo/apis/yespo-api/revisions/b662f92b6c40?raw)
