request passwordless login code
This block is part of the users group and was last modified in core v15.0.0.
request passwordless login code v15.0.0 Send a passwordless login code (email or SMS) to a user. Bypasses the rate limit so it can be triggered right after creating an account. The code itself is never exposed.
- flow
flow - Identifier required
valueEmail address or phone number to send the code to.
- Identifier type
valueEither "email" or "phone". Defaults to "email".
- IP
valueClient IP recorded in the "Login attempt details" section of the email. Defaults to the IP of the API client that triggered the blueprint.
- flow
flow - Success
conditionTrue when the code was actually sent. False when the identifier did not match an eligible user or delivery failed.
- Error
valueError message when success is false.
passwordless |
login |
magic |
code |
A function trigger runs the endpoint: the request body is read with get body, get fields takes the email off it, and request passwordless login code mails the code. A branch on the success pin decides between a 200 reply and a 400, both sent with reply in JSON.

Commonly used with
In production blueprints, this block is most often wired together with:
- branch: wired in both directions with this block.
- get fields: feeds into this block. Gets the selected fields from the given object.
- value: feeds into this block. Simply returns the provided value.
Version history
Introduced in v15.0.0.
Back to
users Return to the main group to view all sub-groups Back to user management Return to the group to view all blocks within this group
