FORGOT PASSWORD
POST
/auth/forgot-passwordRequest
Header Params
X-Tonic-Env
string
required
Example:
development
Body Params application/json
email
string
required
Example
{
"email": "george@thetonictech.com"
}
Request samples
Responses
200 FORGOT PASSWORD(200)
200 FORGOT PASSWORD
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
message
string
required
success
boolean
required
data
object
required
token
string
required
username
string
required
meta
object
required
settings
object
required
Example200 FORGOT PASSWORD
{
"message": "otp has been sent to 'george@thetonictech.com",
"success": true,
"data": {
"token": "30c504889e7325179003880bfd096303ec3b13c877a33b2f016e9a1b16d6f79b5338ad4870f38dec99c718ea298e9a3e3746a5a7376a1e8d4d196b5ce0fbbe63",
"username": "michaelgeorge_1730672802298"
},
"meta": {
"settings": {}
}
}
Last modified: 10 days ago