Submit the Login UI's consent decision (JSON consent API).
curl --request POST \ --url https://auth.example.com/auth/consent \ --header 'Content-Type: application/json' \ --data '{ "consent_item_versions": { "additionalProperty": { "version_id": "example", "content_hash": "example" } } }'Accepts a JSON body only and returns the authorization continuation as redirect_url. Managed browser challenges require the authenticated session bound at authorization time. Acting-as requests require the feature to be enabled and a current delegated relationship. Approvals with statement items must send consent_item_versions, keyed by statement ID, containing version_id and content_hash for every displayed item, including optional items. Changed or missing snapshots return 409 document_changed. Use refresh_consent or the replacement consent_challenge_id in error_details to display updated documents; expired requests require a fresh authorization. Omitted optional decisions continue to mean withdrawal/refusal.
Request Body required
Section titled “Request Body required ”object
Required for every displayed statement item when approving.
object
object
Example generated
{ "consent_item_versions": { "additionalProperty": { "version_id": "example", "content_hash": "example" } }}Responses
Section titled “ Responses ”Successful JSON response.
object
Example generated
{ "additionalProperty": "example"}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Document_changed; obtain a fresh consent screen before submitting again.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Statement consent atomic writes are unavailable on the configured backend.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}