---
title: "Get Coupon Codes for Coupon"
description: "How to call Get Coupon Codes for Coupon (GET /api/coupons/{id}/coupon-codes) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2026-07-15/reference/get_coupon_codes_for_coupon"
revision: "2026-07-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_coupon_codes_for_coupon"
operationId: "get_coupon_codes_for_coupon"
aliases: ["get_coupon_coupon_codes","get_codes_for_coupon"]
method: "GET"
endpoint: "https://a.klaviyo.com/api/coupons/{id}/coupon-codes"
authentication: "privateKey"
scopes: ["coupon-codes:read"]
rateLimits: {"burst":"75/s","steady":"750/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_coupon_codes_for_coupon.json"
jsonApi: {"fields":{"coupon-code":["expires_at","id","status","unique_code"]},"filter":{"expires_at":{"operators":{"single":["greater-or-equal","greater-than","less-or-equal","less-than"]},"type":"string<date-time>"},"status":{"operators":{"single":["equals"]},"type":"string"},"profile.id":{"operators":{"list":["any","equals"]},"type":"string"}},"pagination":{"style":"cursor","defaultPageSize":"100"}}
related: ["https://developers.klaviyo.com/en/v2026-07-15/reference/coupons/llms.txt","https://developers.klaviyo.com/en/v2026-07-15/reference/get_coupons.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_coupon.md","https://developers.klaviyo.com/en/v2026-07-15/reference/create_coupon.md","https://developers.klaviyo.com/en/v2026-07-15/reference/update_coupon.md","https://developers.klaviyo.com/en/v2026-07-15/reference/delete_coupon.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_coupon_codes.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_coupon_code.md","https://developers.klaviyo.com/en/v2026-07-15/reference/create_coupon_code.md","https://developers.klaviyo.com/en/v2026-07-15/reference/update_coupon_code.md","https://developers.klaviyo.com/en/v2026-07-15/reference/delete_coupon_code.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_bulk_create_coupon_code_jobs.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_bulk_create_coupon_codes_job.md","https://developers.klaviyo.com/en/v2026-07-15/reference/bulk_create_coupon_codes.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_coupon_code_ids_for_coupon.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_coupon_for_coupon_code.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_coupon_id_for_coupon_code.md"]
---

# Get Coupon Codes for Coupon

> This is the Markdown version of https://developers.klaviyo.com/en/v2026-07-15/reference/get_coupon_codes_for_coupon

```http
GET https://a.klaviyo.com/api/coupons/{id}/coupon-codes
```

Gets a list of coupon codes associated with the given coupon id

- Revision header: `revision: 2026-07-15` (required)
- Scopes: `coupon-codes:read`
- Rate limits: Burst: `75/s`, Steady: `750/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_coupon_codes_for_coupon.json)

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/coupons/10OFF/coupon-codes' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-07-15'
```

## Path parameters

- `id` (string, required): The ID of the coupon to look up the relationship of. Example: `10OFF`

## Query parameters

- `fields[coupon-code]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `expires_at`, `id`, `status`, `unique_code`
- `filter` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md)\
  Allowed field(s)/operator(s):\
  `expires_at`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than` (date-time)\
  `status`: `equals` (allowed values: `'UNASSIGNED'`, `'PROCESSING'`, `'ASSIGNED_TO_PROFILE'`, `'VERSION_NOT_ACTIVE'`, `'DELETING'`, `'USED'`)\
  `profile.id`: `any`, `equals` (string) Example: `less-than(expires_at,2022-11-08T00:00:00+00:00)`
- `page[cursor]` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md)
- `page[size]` (integer): Default: 100. Min: 1. Max: 100.

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-07-15`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object[], required)
  - `type` (string, required): Allowed values: `coupon-code`
  - `id` (string, required): The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with. Example: `10OFF-ASD325FHK324UJDOI2M3JNES99`
  - `attributes` (object, required)
    - `unique_code` (string, nullable): This is a unique string that will be or is assigned to each customer/profile and is associated with a coupon. Example: `ASD325FHK324UJDOI2M3JNES99`
    - `expires_at` (string<date-time>, nullable): The datetime when this coupon code will expire. If not specified or set to null, it will be automatically set to 1 year. Example: `2022-11-08T00:00:00+00:00`
    - `status` (string, nullable): The current status of the coupon code. Allowed values: `ASSIGNED_TO_PROFILE`, `DELETING`, `PROCESSING`, `UNASSIGNED`, `USED`, `VERSION_NOT_ACTIVE` Example: `UNASSIGNED`
  - `relationships` (object)
    - `coupon` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_coupon_codes_for_coupon.json).
      - `links` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_coupon_codes_for_coupon.json).
    - `profile` (object)
      - `data` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_coupon_codes_for_coupon.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15/openapi/stable/apis/get_coupon_codes_for_coupon.json).
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (object)
  - `self` (string<uri>, required)
  - `prev` (string<uri>)
  - `next` (string<uri>)
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "data": [
    {
      "type": "coupon-code",
      "id": "10OFF-ASD325FHK324UJDOI2M3JNES99",
      "attributes": {
        "unique_code": "ASD325FHK324UJDOI2M3JNES99",
        "expires_at": "2022-11-08T00:00:00+00:00",
        "status": "UNASSIGNED"
      },
      "relationships": {
        "coupon": {
          "data": {
            "type": "coupon",
            "id": "10OFF"
          },
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        },
        "profile": {
          "data": {
            "type": "profile",
            "id": "01GDDKASAP8TKDDA2GRZDSVP4H"
          },
          "links": {
            "self": "https://www.example.com",
            "related": "https://www.example.com"
          }
        }
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ],
  "links": {
    "self": "https://www.example.com",
    "prev": "https://www.example.com",
    "next": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
