- Auth
- ForgotPassword
- Profile
- Family Members
- Address
- Languages
- Products
- Permissions
- Config
- Appointment Schedule
- Test Tags
- Test Parameters
- Category
- Device
- File
- Appointment
- Reports
- Staff
- Patient
- Notifications
ForgotPassword
Developing
POST
/api/service/v1/user/password/forgot
Request
Body Params application/json
email
string
required
Example
{
"email":"deep.marsonia@plenartech.com"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://afyahealth.doctodoor.com:5600/api/service/v1/user/password/forgot' \
--header 'Content-Type: application/json' \
--data-raw '{
"email":"deep.marsonia@plenartech.com"
}'
Responses
🟠422Unprocessable Entity
application/json
Body
object {0}
Examples
{
"error": false,
"status_code": 200,
"data": {
"otp_id": "676d2bd90b139c5149262a11",
"expires_at": "2024-12-26T10:26:37.731Z"
}
}
🟢200OK