Verify Account
PUT
http://127.0.0.1:3000/api/account/verify/{type}
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://127.0.0.1:3000/api/account/verify/email' \
--data-urlencode 'code=JGFyZ29uMmlkJHY9MTkkbT02NTUzNix0PTMscD00JEU1ajdPWE5VSU9kdjNJdGJlQmNkOUEkU21aTDJRRjNvdjJqNnB3c3JYNHo3VWV4Qy93K2pTNTFUVzN2SHZ4TnhoVQ' \
--data-urlencode 'resend=true'
Response Response Example
{
"data": {
"id": "string",
"email": "string",
"walletAddress": null,
"firstName": "string",
"lastName": "string",
"role": "string",
"avatar": null,
"bio": null,
"phone": null,
"verified": true,
"createdAt": "string",
"updatedAt": "string",
"locationId": null
},
"status": "string",
"message": "string",
"code": 0
}
Request
Path Params
type
enum<string>
required
Allowed values:
emailphone
Default:
email
Example:
email
Body Params application/x-www-form-urlencoded
code
string
required
Example:
JGFyZ29uMmlkJHY9MTkkbT02NTUzNix0PTMscD00JEU1ajdPWE5VSU9kdjNJdGJlQmNkOUEkU21aTDJRRjNvdjJqNnB3c3JYNHo3VWV4Qy93K2pTNTFUVzN2SHZ4TnhoVQ
resend
boolean
optional
Example:
true