> ## Documentation Index > Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt > Use this file to discover all available pages before exploring further. # Get Banner by ID > Gets the banner to be shown to the authenticated user. ## OpenAPI ````json GET /api/v1/banners/{id} { "openapi": "3.0.0", "info": { "version": "1.0.0", "title": "Notifications" }, "servers": [ { "url": "https://apiexplorer.support.rocket.chat" } ], "tags": [ { "name": "Push Notifications" }, { "name": "Banners" } ], "paths": { "/api/v1/banners/{id}": { "parameters": [ { "schema": { "type": "string" }, "example": "ByehQjC44FwMeiLbX", "name": "id", "in": "path", "required": "true", "description": "The banner ID." } ], "get": { "summary": "Get Banner by ID", "tags": [ "Banners" ], "responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "object", "properties": { "banners": { "type": "array", "items": { "type": "object", "properties": {} } }, "success": { "type": "boolean" } } }, "examples": { "Success Example": { "value": { "banners": [], "success": "true" } } } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "success": { "type": "boolean" }, "error": { "type": "string" }, "errorType": { "type": "string" } } }, "examples": { "Invalid Params": { "value": { "success": "false", "error": "must have required property 'platform' [invalid-params]", "errorType": "invalid-params" } } } } } }, "401": { "$ref": "#/components/responses/authorizationError" } }, "operationId": "get-api-v1-banners-id", "description": "Gets the banner to be shown to the authenticated user.", "parameters": [ { "$ref": "#/components/parameters/X-Auth-Token" }, { "$ref": "#/components/parameters/X-User-Id" }, { "schema": { "type": "string" }, "example": "web", "in": "query", "name": "platform", "description": "The platform rendering the banner.", "required": "true" } ] } } }, "components": { "responses": { "authorizationError": { "description": "Unauthorized", "content": { "application/json": { "schema": { "type": "object", "properties": { "status": { "type": "string" }, "message": { "type": "string" } } }, "examples": { "Authorization Error": { "value": { "status": "error", "message": "You must be logged in to do this." } } } } } } }, "parameters": { "X-Auth-Token": { "name": "X-Auth-Token", "in": "header", "required": "true", "schema": { "type": "string" }, "example": "9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq", "description": "The authorization token of the user." }, "X-User-Id": { "name": "X-User-Id", "in": "header", "required": "true", "schema": { "type": "string" }, "example": "aobEdbYhXfu5hkeqG", "description": "The user ID of the user." } } } } ````