---
title: "Submit Widget Decision"
method: POST
path: "/consent-hosting/{business_id}/widget-decision"
tags: ["consent-hosting"]
---

# Submit Widget Decision

`POST /consent-hosting/{business_id}/widget-decision`

## Request

- Base URL: `https://api.openproof.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openproof.io/consent-hosting/{business_id}/widget-decision`
- Auth: none declared

## Path parameters

- `business_id` string, required

## Request body

- WidgetDecisionCreate
  - `device_id` string, required
  - `category_id` string, required
  - `status` string, required
  - `external_id` string, nullable
  - `signature` string, nullable
  - `expires` integer, nullable
  - `notice_version` integer, nullable
  - `language` string, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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