consents
Verify OTP code
Verify OTP code for informed consent. Marks consent as verified and sets 10-year expiration.
post/api/consents/verify-otp
Request body
Example request
{
"consent_id": "123e4567-e89b-12d3-a456-426614174001",
"otp_code": "123456"
}Response
Successful Response
Example response
{
"consent_id": "123e4567-e89b-12d3-a456-426614174001",
"expires_at": "2035-01-16T10:00:00Z",
"message": "Consenso verificato con successo",
"status": "verified",
"verified_at": "2025-01-16T10:00:00Z"
}