Send OTP
This API is for to send an OTP to the email address for login
GRAPHQL
Headers
Fields | Type | Description | Example | Data Management |
---|---|---|---|---|
URL | string | {base_url}/users | ||
GRAPHQL | string | MUTATION | ||
content-type | string | JSON | application/json |
Request
mutation {
send_otp(email: "sachinsuresh704@gmail.com") {
message
}
}
Request Parameters
Fields | Type | Description | Required |
---|---|---|---|
string | email of the user | ✔ |
Success
{
"data": {
"send_otp": {
"message": "OTP sent successfully"
}
}
}
Error