Services
Email verification
Sends a one-time code to the customer’s email address to prove they own it.
Service codeemail_otp
What the customer provides
- Email address.
- The one-time code the customer receives.
Outcomes
The step ends with one of these keys in steps[].outcome. In an advanced flow, each one can lead to a different step or end.
| Outcome | Meaning |
|---|---|
verified | The customer entered the right code. |
failed | The customer used up the attempts without the right code. |
Settings
You set these per flow in the panel flow builder.
| Setting | Default | Meaning |
|---|---|---|
code_length | 64–8 | Number of digits in the code. |
ttl_minutes | 101–60 | How long a code stays valid, in minutes. |
Result
The step result comes from the engine myid-link-otp
| Field | Meaning |
|---|---|
data.channel | How the code was sent: sms, voice or email. |
data.destination | The number or address the code was sent to. |
Reasons
otp_attempts_exceeded
Values in angle brackets stand for a family of reasons: provider_… means the engine could not be reached or returned an error, and the outcome is error.