---
title: "List serving domains for header-bidding tags"
type: reference
method: GET
path: /rest-api/hb-tags/domains.do
tag: "Header Bidding"
---

# List serving domains for header-bidding tags

`GET https://YOUR-NETWORK-DOMAIN/rest-api/hb-tags/domains.do`

The network's serving domains a tag's domain may name, each with the CDN in front of it and whether it is the default. Requires the HEADER_BIDDING_TAB_VISIBLE permission.

## Responses

- `200` — {data: [{domain, cdnDomain, isDefault}], total}
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Insufficient permissions, naming the missing one

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/hb-tags/domains.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/header-bidding/get-hb-tags-domains