---
title: "Get promo code by id"
method: GET
path: "/promo_codes/{id}"
tags: ["Promo Codes"]
---

# Get promo code by id

`GET /promo_codes/{id}`

With this endpoint you can get the details of a specific promo code. 
 <Tip>**HTTP Request** <br/>`GET https://api.firstpromoter.com/api/v2/company/promo_codes/{id}`</Tip>

## Path parameters

- `id` integer, required

## Headers

- `Account-ID` string, required

## Response `200`

Promo code details

- PromoCode
  - `id` integer — ID of the promo code entry
  - `code` string — Code of the promo code
  - `reward` object — Reward
    - `id` integer — ID of the reward
    - `name` string — Name of the reward
  - `ext_id` string
  - `description` string — Description of the promo code
  - `company_id` integer
  - `promoter_campaign_id` integer — ID of the promoter campaign
  - `metadata` object — Metadata of the promo code
  - `details` object — Details of the promo code
  - `archived_at` string, date-time

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/firstpromoter/apis/firstpromoter-batch-processes-api.md) · [All operations](https://skmtc.net/firstpromoter/apis/firstpromoter-batch-processes-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firstpromoter/firstpromoter-batch-processes-api/versions/e15f0d026ccf/schema)
