Stytch · Example Payload

Stytch Consumer Webauthn Register Start Example

Initiate the process of creating a new Passkey or WebAuthn registration.

AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools

Stytch Consumer Webauthn Register Start Example is an example object payload from Stytch, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titleendpointdescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Registerstart",
  "endpoint": "POST /v1/webauthn/register/start",
  "description": "Initiate the process of creating a new Passkey or WebAuthn registration. ",
  "request": {
    "method": "POST",
    "path": "/v1/webauthn/register/start",
    "headers": {
      "Authorization": "Basic <base64(project_id:secret)>",
      "Content-Type": "application/json"
    },
    "body": {
      "user_id": "<user_id>",
      "domain": "<domain>",
      "user_agent": "<user_agent>",
      "authenticator_type": "<authenticator_type>",
      "return_passkey_credential_options": true,
      "override_id": "<override_id>",
      "override_name": "<override_name>",
      "override_display_name": "<override_display_name>",
      "use_base64_url_encoding": true
    }
  },
  "response": {
    "status": 200,
    "body": {
      "request_id": "example-value",
      "user_id": "example-value",
      "public_key_credential_creation_options": "example-value",
      "status_code": 200
    }
  }
}