consents

Resend OTP code

Resend OTP code to user's email. Rate limited to 1 request per minute.

post/api/consents/resend-otp

Request body

consent_idstring uuid required

Consent UUID

Example request

{
  "consent_id": "123e4567-e89b-12d3-a456-426614174001"
}

Response

Successful Response

consent_idstring uuid required

Consent UUID

titlestring

Success title

messagestring required

Success message

otp_expires_atstring date-time required

New OTP expiration time

Example response

{
  "consent_id": "123e4567-e89b-12d3-a456-426614174001",
  "message": "OTP inviato con successo alla tua email",
  "otp_expires_at": "2025-01-16T10:15:00Z"
}

Changes

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