Skip to content
Hexel StudioDocs

Create device challenge

POST/titan/user/devices:challenge

A single-use enrollment challenge for the caller, valid five minutes; at most five outstanding (DEVICE_LIMIT). attestation_required is present (true) only where the deployment requires a key attestation at enrollment. Authorized by the caller's own user-route token; a device belongs to the token's subject and another person's is NOT_FOUND; NOT_FOUND unless phone enrollment is on.

Headers

Bearer <token>. The person's user-route token: a user access token from the deployment's identity provider for an audience only the person routes accept, carrying their use claim. The Gateway verifies it; the edge does not. A session's token is refused here, and a user-route token is refused as a session's. Served only while the deployment turns the person routes on; NOT_FOUND otherwise.

Returns

200Successful response; exact status varies by operation.object

attestation_requiredoptional boolean

One of: true

audiencestring
challengestring
expires_atstringdate-time

Errors

  • defaultRejected request.