Skip to main content
POST
Initiate phone number linking

Authorizations

Authorization
string
header
required

Project API key (ask_live_... or ask_test_...) passed in the Authorization header.

Body

application/json
phone_number
string
required

E.164 phone number. Validates and normalizes on construction.

Usage::

Raises ValidationError if the input is not a valid phone number.

label
string | null
Maximum string length: 128

Response

Successful Response

phone_number
UserPhoneNumber · object
required
trigger
LinkTrigger · object
required

State of a single OTP send attempt for a link.