Skip to main content
POST
/
api
/
v1
/
auth
/
email-otp
/
send
cURL
curl -sS -X POST "$FLUIDE_BASE_URL/api/v1/auth/email-otp/send" \
  -H "Authorization: Bearer $FLUIDE_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "success": true,
  "message": "Operation completed successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Access token JWT. Use as Authorization: Bearer . In the API playground, paste the JWT only.

Body

application/json
email
string<email>
required
Example:

"jane@example.com"

type
enum<string>
default:email-verification
Available options:
email-verification,
sign-in,
forget-password

Response

Send a one-time code to the user via email — created

success
boolean
required

Whether the request succeeded

Example:

true

message
string
required

Human-readable outcome message (localized when i18n is configured)

Example:

"Operation completed successfully"

data
object

Endpoint-specific payload