POST
/
signin
/
passwordless
/
email
curl --request POST \
  --url https://local.auth.nhost.run/v1/signin/passwordless/email \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "john.smith@nhost.io",
  "options": {
    "allowedRoles": [
      "me",
      "user"
    ],
    "defaultRole": "user",
    "displayName": "John Smith",
    "locale": "en",
    "metadata": {
      "firstName": "John",
      "lastName": "Smith"
    },
    "redirectTo": "https://my-app.com/catch-redirection"
  }
}'
"OK"

Body

application/json
email
string
required

A valid email

Example:

"john.smith@nhost.io"

options
object

Response

200
application/json

Email sent successfully

The response is of type string.

Example:

"OK"