---
title: "Create Hosted Consent Request"
method: POST
path: "/hosted/consent-requests"
tags: ["Hosted Consent Pages"]
---

# Create Hosted Consent Request

`POST /hosted/consent-requests`

Used to initiate a consent request using Yapily Hosted Pages.

## Headers

- `sub-application` string, uuid

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized. Credentials are missing or invalid
- `500` — Unexpected Error
- `default` — Error Response

---

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