---
title: "Get banners"
method: GET
path: "/api/v5/banners/"
tags: ["Banners"]
---

# Get banners

`GET /api/v5/banners/`

Get live and not expired banners of the specified app that the actual user can see (His specific banners + banners that are not specific to any user + included in the audience

## Query parameters

- `app_name` 'core' | 'gratitude' | 'pavlok3', required — An enumeration.
- `platform_name` 'android' | 'ios', required — An enumeration.
- `device_name` 'PV2' | 'SC2' | 'PV3' | 'SC3' — An enumeration.

## Response `200`

Successful Response

- ListOfBannersInResponse
  - `banners` Banner[], required
    - `id` integer
    - `title` string
    - `url` string
    - `text` string
    - `storeItemId` integer
    - `backgroundColor` string
    - `backgroundImageFileName` string
    - `backgroundImageContentType` string
    - `backgroundImageFileSize` integer
    - `backgroundImageUpdatedAt` string, date-time
    - `live` boolean
    - `audience` string
    - `appName` string
    - `expiryTime` string, date
    - `isOnboarding` boolean
    - `relativeExpiry` integer
    - `imageId` integer
    - `backgroundImageUrl` string

## Other responses

- `422` — Validation Error

---

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