---
title: "Return messaging banners"
method: GET
path: "/api/Messaging/Banners/{location}"
tags: ["Messaging"]
---

# Return messaging banners

`GET /api/Messaging/Banners/{location}`

## Path parameters

- `location` 'HomePage' | 'FindACommitteePage' | 'CommonsCommitteeDetailsPage' | 'LordsCommitteeDetailsPage' | 'JointCommitteeDetailsPage' | 'FindAnInquiryPage' | 'FindAPublicationPage' | 'FormerCommitteesSearchPage', required

## Response `200`

List of banners matching criteria

- CommitteesCommonResponsesMessagingBannerDetails[]
  - `id` integer
  - `location` string, nullable
  - `content` string, nullable
  - `displayType` string, nullable

## Other responses

- `404` — No banners matching criteria exist

---

[API](https://skmtc.dev/parliament/apis/committees-api.md) · [All operations](https://skmtc.dev/parliament/apis/committees-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/parliament/committees-api/revisions/2963ac78fed1/schema)
