curl --request POST \
--url https://storekit.samarthh.me/v1/auth/admin/verify-otp \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"otp": "123456"
}
'Verify OTP and complete admin registration or login. Session cookie is automatically set with ADMIN role.
curl --request POST \
--url https://storekit.samarthh.me/v1/auth/admin/verify-otp \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"otp": "123456"
}
'The body is of type object.
Successful response