bird verify verifications next-channel
Usage
Przykład kodu
bird verify verifications next-channel [flags]Description
Send a fresh passcode on the next channel, for a recipient who never received it
Identify the verification by the same recipient it was started for (--phone-number
and/or --email); no verification id is needed. The send skips the resend
cooldown, and every passcode already sent stays valid, so a late arrival can still
be checked. The result is the verification with "last_channel" set to the channel
the new passcode went to. A verification whose channel plan is exhausted returns
422 NoNextChannel — re-create the verification to resend on the current channel.
Build the request from flags, a JSON VerificationNextChannelRequest body via --body-file ("-" reads
stdin), or both — a flag overrides the matching body field. Run --example to
print a ready-to-edit body, or --dry-run to print the resolved request without
sending it.
Procedure
Step 3 of 3 of "Verify a recipient with a one-time passcode". Previous: bird verify verifications check.
Examples
Przykład kodu
# print the body shape (no credentials needed)
bird verify verifications next-channel --example
# the body it prints:Przykład kodu
{
"to": {
"phone_number": "+15551234567"
}
}Przykład kodu
# the recipient says the SMS never arrived
bird verify verifications next-channel --phone-number +15551234567Options
Recipient
| Name | Description |
|---|---|
| Recipient email address the verification was started for | |
| --phone-number | Recipient phone number (E.164) the verification was started for |
Request
| Name | Description |
|---|---|
| --body-file | Read the JSON request body from this file; "-" reads stdin |
| --example | Print a complete example request body, then exit |
| --dry-run | Print the resolved request without sending it, then exit |
| --idempotency-key | Deduplication key; a retry with the same key won't act twice |
Options
| Name | Description |
|---|---|
| --response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
| bird verify verifications check | Check a passcode a recipient submitted for their verification |
| bird verify verifications create | Start a verification and send a one-time passcode to a recipient |