---
title: "Promo Codes By Target Group"
method: GET
path: "/Actions/GetPromoCodesByTargetGroup"
tags: ["Actions"]
---

# Promo Codes By Target Group

`GET /Actions/GetPromoCodesByTargetGroup`

Returns all recipient group IDs, action IDs and promo codes associated with a given target group on a particular date.

## Query parameters

- `Date` string, date-time, required
- `targetGroupID` integer, required

## Response `200`

Success

- OptimoveAPIModelsOptimoveTGPromotion[]
  - `RecipientGroupID` integer
  - `ActionID` integer — The Action ID is Optimove's unique ID for each action
  - `PromoCode` string, nullable

---

[API](https://skmtc.net/optimove/apis/optimove-api.md) · [All operations](https://skmtc.net/optimove/apis/optimove-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/optimove/optimove-api/revisions/fc55c5b1bec5/schema)
