---
title: "Consent Action"
method: POST
path: "/v0/oauth/consent"
tags: ["oauth"]
---

# Consent Action

`POST /v0/oauth/consent`

## Request

- Base URL: `https://api.databento.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.databento.com/v0/oauth/consent`
- Auth: OAuth 2
  - Password
  - Token URL: `/v0/auth/login`

## Query parameters

- `retry` integer

## Request body `application/x-www-form-urlencoded`

- BodyConsentActionV0OauthConsentPost
  - `consent_challenge` string, required
  - `accepted` boolean, required
  - `scopes` string[]
  - `audiences` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-30** `cb32228622ed`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/databento/apis/databento-openapi-specification/changes/v0/oauth/consent/post.md)

---

[API](https://skmtc.dev/databento/apis/databento-openapi-specification.md) - [All operations](https://skmtc.dev/databento/apis/databento-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/databento/apis/databento-openapi-specification/revisions/9cc41e22eead?raw)
