Skip to main content
POST
Verify a one-time passcode

Authorizations

Authorization
string
header
required

Your API key, e.g. sk_live_... or sk_test_....

Headers

Idempotency-Key
string

Optional. Makes this write safe to retry: the same key replays the first response instead of acting twice.

Maximum string length: 255

Body

application/json
code
string
required
Maximum string length: 16
id
string<uuid>

The challenge id from the send call.

to
string

Alternative to id.

Maximum string length: 32

Response

Verification result.

id
string
status
string
verified_at
string<date-time> | null