Verify And Login
Developing
Request
Body Params application/json
{
"mobileNumber": "+15551234569",
"verificationCode": "123456",
"role": "customer"
}
Request Code Samples
curl --location --request POST '/auth/verifyAndLogin' \
--header 'Content-Type: application/json' \
--data-raw '{
"mobileNumber": "+15551234569",
"verificationCode": "123456",
"role": "customer"
}'
Responses
application/json {
"token": "string",
"user": {
"id": "string",
"name": "string",
"email": "string",
"mobileNumber": "string",
"mobileVerified": true,
"dynamicMediaUrls": null,
"active": true,
"language": null,
"notification": null,
"rememberToken": null,
"referralCode": null,
"role": "string",
"createdAt": "string",
"updatedAt": "string"
}
}
Modified at 2025-04-22 15:38:07