Skip to content

Passkeys API Documentation

Overview

The Passkeys API provides endpoints for managing passkey-based authentication.

Bootstrap

GET https://api.journeyid.com/passkeys/bootstrap

Retrieves the initial configuration for passkey operations, including customer information and authentication status.

Response

json
{
  "customers": [
    {
      "id": "string",
      "name": "string",
      "email": "string",
      "isEnrolled": boolean
    }
  ],
  "authentication": {
    "id": "string",
    "customerRef": "string",
    "phoneNumber": "string (optional)",
    "timestamp": "string (ISO 8601)"
  }
}

Send

POST https://api.journeyid.com/passkeys/send

Sends a passkey request to a customer.

Request Body

json
{
  "recipients": [
    {
      "email": "string",
      "name": "string"
    }
  ],
  "subject": "string",
  "message": "string"
}

Response

json
{
  "requestId": "string",
  "wsToken": "string"
}