---
title: "List a video banner's VAST companions"
type: reference
method: GET
path: /rest-api/banner/{bannerId}/vast/companions.do
tag: "VAST"
---

# List a video banner's VAST companions

`GET https://YOUR-NETWORK-DOMAIN/rest-api/banner/{bannerId}/vast/companions.do`

Lists the companion ads of a video banner, as the console's Companions grid does. Needs the VAST Companion Ads permission and view rights on the banner's advertiser.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `bannerId` | integer | yes | `5001` | Video banner id |

## Responses

- `200` — 'companions' lists {id, type, width, height, creativeType, fileName, fileUid, iframeUrl, markup, templateId, templateName}
- `400` — The banner is not a video banner
- `401` — Authentication error
- `403` — The VAST Companion Ads permission is off, or no view rights on the banner
- `404` — The banner does not exist or is deleted

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/banner/5001/vast/companions.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/vast/get-banner-vast-companions