Resend OTP
Resend a One-Time Password (OTP) to a subject for credential approval, via email or SMS.
Provide exactly one query parameter to identify the subject: contact, id, or internalId.
The endpoint validates:
- The request is not canceled
- Maximum attempts have not been reached, only successful OTP sends count towards resend limits
- Sufficient time has passed since the last successful resend
- Billing restrictions apply
Headers
Optional key used to safely retry the same create/initiate request without duplicating side effects.
"a96d14c5-8e60-4f6b-9d80-5c18c0e4202a"
Pin request, response, and webhook shapes to a specific dated API version (YYYY-MM-DD). Omit to use the version pinned to your API key (set when the key is created; new keys default to the latest version). New integrations should target the latest version.
^\d{4}-\d{2}-\d{2}$"2026-07-06"
Path Parameters
Unique identifier of the credential request. Must be a valid MongoDB ObjectId.
"507f1f77bcf86cd799439011"
Query Parameters
Verified contact value (email or phone)
"user@example.com"
User's VIA identifier
"did:web:humanos.tech:user:73ebefdd-a549-4873-aad9-def80c40c8c8"
Identifier to help you identify the user in your own system. We recommend using a unique value.
"internal-12345"
Response
Returns a confirmation that the OTP was sent successfully via email or SMS.
Whether the operation was successful
true