Returning.AI
Light Mode
verify email
DevelopingPOST
/auth/verify-emailRequest
Body Params application/json
email
string
required
code
string
required
>= 6 characters<= 6 characters
Match pattern:
^[0-9]+$
Example
{
"email": "makedi3263@foraro.com",
"code": "280867"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
success
boolean
required
message
string
required
devMessage
string
required
body
object
required
accessToken
string
required
refreshToken
string
required
Example
Success
{
"meta": {
"success": true,
"message": "Email has been verified successfully",
"devMessage": "Email has been verified successfully"
},
"body": {
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjIiLCJpYXQiOjE3MjE5MjI1MTYsImV4cCI6MTcyMjAwODkxNn0.RU6HbgnjhudD5h1hjCQ0OBo5HD2ANRtw8VNKHBLdvMA",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjIiLCJpYXQiOjE3MjE5MjI1MTYsImV4cCI6MTcyMjUyNzMxNn0.95J7P0_vUGnAKARhwVhws0T-M_yZNzu-i-2XY-5H-Hk"
}
}
Last modified: 3 months ago