Authentication

Register a mobile device

Register a new mobile device for the authenticated user. Human-only. The device public key is used for step-up authentication challenges.

post/v1/auth/devices

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/auth/devices
  • Auth: HTTP bearer

Request body

namestring required

Human-readable device name (e.g. "Kevin's iPhone")

platform'ios' | 'android' required
public_key_pemstring required

PEM-encoded public key for step-up challenge signing

attestation_blobstring

Optional platform attestation (Apple DeviceCheck / Android SafetyNet)

Example request

{
  "name": "My iPhone"
}

Response

Device registered

device_idstring uuid required
attestation_verifiedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.