---
title: "Create Gate Endpoint"
method: POST
path: "/v1/gates"
tags: ["gates"]
---

# Create Gate Endpoint

`POST /v1/gates`

## Request

- Base URL: `https://docs.xenarch.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.xenarch.com/v1/gates`
- Auth: none declared. Required headers: `x-site-token`

Create a gate session requiring payment for content access.

## Headers

- `x-site-token` string, required

## Request body

- GateCreateRequest
  - `url` string, required
  - `detection_method` string, nullable

## Other responses

- `402`: Successful Response
- `422`: Validation Error

---

[API](https://skmtc.dev/xenarch/apis/xenarch-platform.md) · [All operations](https://skmtc.dev/xenarch/apis/xenarch-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/xenarch/apis/xenarch-platform/revisions/88121faafcbf?raw)
