curl --request POST \
--url https://api.example.com/auth/verify-forgot-password-text \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"countryAbbreviation": "<string>",
"phoneNumber": "<string>"
}
'{
"success": true,
"data": "<unknown>"
}Calls the sms service to verify a text code through them for the user to reset their password.
curl --request POST \
--url https://api.example.com/auth/verify-forgot-password-text \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"countryAbbreviation": "<string>",
"phoneNumber": "<string>"
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.