- Docs
- Api%2Freference%2Fwallets%2FVerifyWallet
Confirm an email address
Confirm an account with the code sent to its email address, which activates it for full use. Send the same email address the code went to, along with the code, plus `organization_id` if the account belongs to a particular organization — the code is checked against that one account rather than against every outstanding code. Signing in with a one-time code confirms an address too, so an account that goes that route never needs this. No sign-in needed — this is part of signing up.
Request Body
application/json
The address being confirmed, and the code.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.dual.network/auth/verify" \ -H "Content-Type: application/json" \ -d '{ "email": "alex@example.com", "code": "482913" }'{}{
"code": 3,
"message": "Key: 'limit' Error:Field validation for 'limit' failed on the 'lte' tag"
}{
"code": 13,
"message": "internal error"
}