Resend an SMS passcode

Invalidates any outstanding passcode for the phone number and sends a fresh
one. Requires a partner session token.

Body Params

Request body for sending or resending an SMS one-time passcode.

external_program_id is required: these routes are partner-authenticated
only, so there is no anonymous session to supply a fallback program from
configuration.

string
required

The identifier of the program from the partner's system.

string
required

The phone number to send the one-time passcode to, including the country code
+12025550143 or 12025550143, +442071838750 or 442071838750.

The country code is the caller's to supply: it is never inferred, so a national number
is not assumed to be North American. The leading + is optional and spaces, hyphens,
dots and parentheses are ignored; the number is stored canonically either way.

Sending the + is still worth doing: without it a missing country code cannot be
distinguished from a short international number, so a national number is taken at face
value as though its first digits were a country code rather than being rejected.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json