---
title: "Get one banner details"
method: GET
path: "/api/v5/admin/banners/{banner_id}"
tags: ["Admin Banners"]
---

# Get one banner details

`GET /api/v5/admin/banners/{banner_id}`

## Request

- Base URL: `https://api.pavlok.com`
- URL: `https://api.pavlok.com/api/v5/admin/banners/{banner_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/pavlok/apis/pavlok-api-v5/docs/api/v5/admin/banners/:banner_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get one banner details for admin dashboard

## Path parameters

- `banner_id` integer, required

## Response `200`

Successful Response

- BannerInResponse
  - `banner` 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.dev/pavlok/apis/pavlok-api-v5.md) - [All operations](https://skmtc.dev/pavlok/apis/pavlok-api-v5/llms.txt) - [OpenAPI document](https://skmtc.dev/pavlok/apis/pavlok-api-v5/revisions/3d192098b1ac?raw)
