> ## Documentation Index
> Fetch the complete documentation index at: https://docs.branduo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Thank You promo

> GET active Thank You cross-promo offers for the authenticated brand.

## `GET /v1/campaigns/thank-you-promo`

Returns the same offer cards Branduo shows on Shopify Thank You when the brand has an Active Thank You campaign.

### Headers

| Header          | Required              | Notes                                                                                                                                               |
| --------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `X-Api-Key`     | Yes (or OAuth Bearer) | Brand API key                                                                                                                                       |
| `X-Platform-Id` | No                    | Catalog `Platform.Id` as a Guid (`type: string`, `format: uuid`). Redo = `e38849db-d0bf-494b-abe9-6bf5f833a34e`. Non-uuid or unknown Guid → **400** |

### Example (with platform)

```bash theme={null}
curl -sS 'https://test-openapi-api.azurewebsites.net/v1/campaigns/thank-you-promo' \
  -H 'X-Api-Key: bduo_test_…' \
  -H 'X-Platform-Id: e38849db-d0bf-494b-abe9-6bf5f833a34e'
```

### Example (without platform)

```bash theme={null}
curl -sS 'https://test-openapi-api.azurewebsites.net/v1/campaigns/thank-you-promo' \
  -H 'X-Api-Key: bduo_test_…'
```

### Response

```json theme={null}
{
  "offers": [
    {
      "imageUrl": "https://…",
      "referralUrl": "https://…",
      "title": "…",
      "subtitle": "…"
    }
  ]
}
```

When there is no Active campaign, the body is `{"offers":[]}`. Missing/invalid auth returns **401**. A present `X-Platform-Id` that is not a uuid, or a uuid that is not an Active catalog row, returns **400**.
