- Docs
- Api%2Freference%2Fwallets%2FRequestVerificationCode
Resend a confirmation code
Send the signed-in person another code to confirm their email address — useful when the first one never arrived. The code goes to the address on their account; the request body is not consulted. They then confirm with `POST /auth/verify`. Only for an account that has not been confirmed yet.
Authorization
bearer-auth The access token returned after a successful sign-in, sent as
Authorization: Bearer <access_token>.
It identifies the person and the organization they are working in, and
it lasts about fifteen minutes. When it runs out, use their refresh
token at POST /auth/refresh-token instead of asking them to sign in
again.
In: header
Request Body
application/json
Not used. The code goes to the address on the signed-in account.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.dual.network/auth/verification-code" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": 3,
"message": "Key: 'limit' Error:Field validation for 'limit' failed on the 'lte' tag"
}{
"code": 16,
"message": "no auth provided"
}{
"code": 13,
"message": "internal error"
}