Users

Record biometric consent

Record biometric consent for the authenticated user

post/v3/users/me/consent

Request

  • Base URL: https://api.creditcoop.xyz
  • URL: https://api.creditcoop.xyz/v3/users/me/consent
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://clerk.creditcoop.xyz/oauth/authorize, token URL https://clerk.creditcoop.xyz/oauth/token)

Request body

biometricConsentGivenboolean required

Whether the user has given biometric consent

biometricConsentVersionstring required

Version of the biometric consent accepted

Response

Default Response

successboolean required
messagestring required

Example response

{
  "user": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "createdAt": "2025-01-15T10:30:00Z",
    "updatedAt": "2025-01-15T10:30:00Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.