---
title: "Public: get the currently applicable banners for an audience"
method: GET
path: "/api/marketing/banners/applicable"
tags: ["marketing"]
---

# Public: get the currently applicable banners for an audience

`GET /api/marketing/banners/applicable`

## Request

- Base URL: `https://app.luxalgo.com`
- URL: `https://app.luxalgo.com/api/marketing/banners/applicable`
- Auth: none declared
- TypeScript: <https://skmtc.dev/luxalgo/apis/luxalgo-public-api/docs/api/marketing/banners/applicable/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `audience` string
- `country` string
- `surface` 'bar' | 'hero_pill' | 'app_bar'

## Response `200`

Success. The payload is wrapped in the standard { data, errors } envelope.

- object
  - `data` object, required
    - `banners` object[], required
      - `content` string, required
      - `linkUrl` string, nullable, required
      - `colorScheme` string, nullable, required
      - `beginDate` string, nullable, required
      - `endDate` string, nullable, required
      - `audiences` string[], required
      - `isPublic` boolean, required
      - `countries` string[], required
      - `surface` 'bar' | 'hero_pill' | 'app_bar', required
      - `targetPathnames` string[], required
      - `id` string, required
      - `saleId` string, nullable, required
      - `createdAt` string, required
      - `updatedAt` string, required
  - `errors` unknown

## Other responses

- `400`: Validation error — errors[].details carries the zod issues.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/luxalgo/apis/luxalgo-public-api.md) - [All operations](https://skmtc.dev/luxalgo/apis/luxalgo-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/luxalgo/apis/luxalgo-public-api/revisions/226c2d642643?raw)
