Skip to Content

PasskeyRegisterBegin

POST
/auth/v1/users/current/passkeys/register/begin

Authorization

headerX-API-Key<token>

API key for protected endpoints, supplied in the X-API-Key header.

Request Body

required
application/json
{
  "$ref": "#/components/schemas/auth.v1.PasskeyRegisterBeginRequest",
  "$ref-value": {
    "type": "object",
    "properties": {
      "user_id": {
        "type": "string",
        "title": "user_id"
      }
    },
    "title": "PasskeyRegisterBeginRequest",
    "additionalProperties": false
  }
}

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/auth.v1.PasskeyBeginResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "challenge_id": {
        "type": "string",
        "title": "challenge_id"
      },
      "options": {
        "type": "string",
        "title": "options",
        "format": "byte"
      }
    },
    "title": "PasskeyBeginResponse",
    "additionalProperties": false
  }
}
default
curl -X POST 'https://api.rixl.com/auth/v1/users/current/passkeys/register/begin'

Success

application/json

{
  "$ref": "#/components/schemas/auth.v1.PasskeyBeginResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "challenge_id": {
        "type": "string",
        "title": "challenge_id"
      },
      "options": {
        "type": "string",
        "title": "options",
        "format": "byte"
      }
    },
    "title": "PasskeyBeginResponse",
    "additionalProperties": false
  }
}