---
title: "Accept consent"
method: POST
path: "/v1/consent"
tags: ["Consent"]
---

# Accept consent

`POST /v1/consent`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/v1/consent`
- Auth: none required
- TypeScript: <https://skmtc.dev/rise/apis/risex-rest-api/docs/v1/consent/post.ts> (a function with typed inputs; its response is checked against the schema)

Record that a browser (consent_id) accepted the current policy version

## Request body

- ApiAcceptConsentRequest
  - `consent_id` string: consent_id minted by the portal's own server, not by this service.
  - `policy_version` string
  - `ip` string: Browser metadata captured by the trusted portal server on Vercel.
  - `user_agent` string

## Response `200`

A successful response.

- ApiAcceptConsentResponse
  - `consent_id` string
  - `policy_version` string

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-11-03** `98eabcd6a6ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rise/apis/risex-rest-api/changes/v1/consent/post.md)

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
