# Record user consent and mint an authorization code (/developer/api-reference/oauth/OAuthInternalController_consent)

## POST /oauth/authorize/consent
```json
{
  "operationId": "OAuthInternalController_consent",
  "parameters": [],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ConsentArgs"
        }
      }
    }
  },
  "responses": {
    "201": {
      "description": ""
    }
  },
  "summary": "Record user consent and mint an authorization code",
  "tags": [
    "OAuth"
  ]
}
```