---
title: "Create"
method: POST
path: "/v1/block_pages"
tags: ["Block Pages"]
---

# Create

`POST /v1/block_pages`

Creates a new block page.

## Request body

- BlockPage — Represents a custom block page
  - `name` string — Name
  - `organization_id` integer — The organization that owns the block page
  - `block_org_name` string — The name of the organization to show on the block page. (may be null)
  - `block_email_addr` string — The contact email address to show (may be null)
  - `block_logo_uuid` string — The UUID of the custom logo uploaded to uploadcare.com (may be null)
  - `created_at` string, date — The block page created date
  - `updated_at` string, date — The last updated date of the block page

## Response `201`

The created block page

- BlockPage — Represents a custom block page
  - `name` string — Name
  - `organization_id` integer — The organization that owns the block page
  - `block_org_name` string — The name of the organization to show on the block page. (may be null)
  - `block_email_addr` string — The contact email address to show (may be null)
  - `block_logo_uuid` string — The UUID of the custom logo uploaded to uploadcare.com (may be null)
  - `created_at` string, date — The block page created date
  - `updated_at` string, date — The last updated date of the block page

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Can not create block_page with the specified data

---

[API](https://skmtc.net/dnsfilter/apis/dnsfilter-api.md) · [All operations](https://skmtc.net/dnsfilter/apis/dnsfilter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dnsfilter/dnsfilter-api/revisions/29e5e6ee3316/schema)
