Verify a one-time code and proof key to establish a customer session.
POST/api/v1/auth/challenges/{id}/verifications
Authorization
No API key or access token is required. This sign-in operation validates the registered application and challenge proof.
Application and challenge validation
Request headers
Content-Typeapplication/json
Encode the request body as JSON.
Path parameters
idstring · required
Opaque identifier in the authorized resource scope. Nested identifiers must belong to their parent resource.
Request body
applicationIdstring · required
The same registered application that initiated the challenge.
codestring · required
One-time code delivered to the enrolled identity.
codeVerifierstring · required
Original secret proof-key verifier generated when starting this challenge.
Response
200OK
Returns the authorized resource or result for this operation. List results use items, nextCursor, and hasMore.
Behavior to account for
No API key is used. Application registration does not authenticate a person. Rate limits, proof-key binding, expiry, and single-use verification protect this flow.
Consume the challenge atomically. Bind the code and proof key to the same tenant, application, and identity. Establish only previously granted resource relationships.
Errors
Authentication failures return 401 or 403. Inaccessible resources return 404. Business and idempotency conflicts return 409. Rate limits return 429 with retry guidance.
We use cookies to understand how the site is used so we can improve it. Analytics stays off until you accept. You can change your choice anytime from the footer. Read ourPrivacy Policy.