---
title: "Get Cdn Config"
method: GET
path: "/v1/projects/{project_id}/cdn/config"
tags: ["cdn"]
---

# Get Cdn Config

`GET /v1/projects/{project_id}/cdn/config`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/cdn/config`
- Auth: none declared

Read the project's edge/security config from its dedicated Bunny zone.

## Path parameters

- `project_id` string, required

## Response `200`

Successful Response

- CdnConfigOut
  - `dedicated_zone` boolean, required
  - `zone_id` string, nullable
  - `cdn_hostname` string, nullable
  - `hostnames` string[]
  - `signed_urls_enabled` boolean
  - `zone_security_key` string, nullable
  - `allowed_referrers` string[]
  - `block_none_referrer` boolean
  - `blocked_countries` string[]
  - `request_limit` integer
  - `burst_size` integer
  - `connection_limit_per_ip` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
