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

Body

application/json
options
object
phoneNumber
string
required

Response

200 - application/json

The response is of type string.