Resend password
The endpoint provides the ability to reset a user's password, usually by sending instructions to the registered mobile number.
After confirming the phone number or after user authorization, you will receive an access_token. You need to enter this access_token in the
Token
field.
Required Headers Parameters и Body Parameters:
Use the X-Merchant-ID provided to you by your account manager.
Request Sample: cURL
At the time of sending the request, the curl command should be as follows:
curl --request POST \
--url https://api.vault.sandbox.testessential.net/v2/mobile/password/reset \
--header 'X-Fingerprint: 1234444' \
--header 'X-Merchant-ID: bece038f-2e46-49f4-b25e-89cd38d6dc16' \
--header 'X-Version: 1.2' \
--header 'accept: application/json' \
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI3NzQ3MmM5YS1lMmY3LTRhMWEtODFlNC03N2MxNTFiNzg1MTciLCJleHAiOjE3MTEwMzgzMjUsImlhdCI6MTcxMDk1MTkyNX0.b8ATi6SSiR7OJY0Mtx74YijSECtSXUwQ7Jbv3hL6eMU' \
--header 'content-type: application/json' \
--data '
{
"phone": "+447871234567"
}
'
After entering the phone number and password into the respective fields, you need to click the Try It!
button.
This action initiates the process of sending data to the server and receiving a response from the API using the provided credentials.
Response Example
The response status code indicates that the request was successfully processed.
{
"result": "ok"
}
Updated 7 months ago