---
title: "Get_WebBanner_By_Id"
method: GET
path: "/channel/{channelId}/web-banners/{webBannerId}"
tags: ["WebBanner"]
---

# Get_WebBanner_By_Id

`GET /channel/{channelId}/web-banners/{webBannerId}`

Get WebBanner by Id for particular channel

## Path parameters

- `channelId` string, required
- `webBannerId` string, required

## Response `200`

Success-Response:

- object
  - `webBanner` object
    - `_id` string
    - `channel` string
    - `name` string
    - `contentState` object
      - `contentWidth` number
      - `bodyStyle` object
        - `fontSize` number
      - `linkStyle` object
        - `textDecoration` string
      - `rows` object[]
        - `id` string
        - `colSize` number[]
        - `cols` object[]
          - `id` string
          - `size` number
          - `elements` object[]
            - `id` string, required
            - `type` string, required
            - `style` object, required
              - …
            - `focused` boolean, required
            - `content` string, required
            - `url` string
            - `buttonStyle` object
              - …
        - `style` object
          - `paddingTop` number
          - `paddingLeft` number
          - `paddingRight` number
          - `paddingBottom` number
          - `backgroundColor` string
        - `contentStyle` object
          - `backgroundColor` string
    - `buttonStyle` object
    - `style` object
      - `backgroundColor` string
    - `updatedAt` string
    - `status` string
    - `timeout` number
    - `darkenBackground` boolean
    - `matchQuery` object
    - `attributes` object[]
      - `id` string, required
      - `value` string, required
    - `oncePerClick` boolean
    - `createdAt` string
    - `showOnlySubscribers` boolean
    - `frequency` string
    - `excludeTags` unknown[]
      - unknown
    - `content` string
  - `Object` object, required — <p>containing the WebBanner for given webBannerId</p>

---

[API](https://skmtc.dev/cleverpush/apis/cleverpush-api-reference.md) · [All operations](https://skmtc.dev/cleverpush/apis/cleverpush-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cleverpush/cleverpush-api-reference/revisions/64ed799d2f1b/schema)
