Skip to main content
POST
Start an SCA login

Authorizations

Authorization
string
header
required

API token authentication using format <api token id>:<api client secret>

Query Parameters

customerId
string
required

The unique identifier of the customer starting an SCA login.

Body

application/json

Selects which enrolled factor to start an SCA login with. The factor must already be enrolled (or, for SMS_OTP, the phone verified).

factor
enum<string>
required

The factor to authenticate with.

Available options:
SMS_OTP,
TOTP,
PASSKEY

Response

SCA login started; factor-specific material is returned.

The factor-specific material a customer needs to complete an SCA login. Each factor surfaces only the fields it issues: SMS_OTP carries challengeId and expiresAt; TOTP carries neither (the customer reads the code from their authenticator app); PASSKEY carries the opaque WebAuthn passkeyOptions with allowedOrigins and relyingPartyId.

factor
enum<string>
required

The factor this login was started for.

Available options:
SMS_OTP,
TOTP,
PASSKEY
challengeId
string | null

The challenge handle for an SMS_OTP login, threaded back on the complete call. Present only for SMS_OTP.

expiresAt
string<date-time> | null

Absolute UTC timestamp after which the SMS_OTP code expires. Present only for SMS_OTP.

Example:

"2025-10-03T12:05:00Z"

passkeyOptions
object | null

Opaque WebAuthn assertion request options. Present only for PASSKEY; pass to the device's WebAuthn API to produce the assertion submitted on the complete call.

allowedOrigins
string[] | null

The origins the WebAuthn ceremony may run against. Present only for PASSKEY.

Example:
relyingPartyId
string | null

The WebAuthn relying-party id. Present only for PASSKEY.

Example:

"app.example.com"