This is the official documentation of HelioAuth Passkeys API. It provides a simple interface for user authentication with WebAuthn passkeys.
Start by creating an application at /admin/v1/apps. Then, get its API key from /admin/v1/apps/{id}/api-key.
Starts the sign-up process by generating an attestation challenge.
| name required | string Name of the user to be registered. |
{- "name": "string"
}{- "requestId": "string",
- "options": "string"
}Completes the sign-up process by validating the attestation and registering the new credential.
| requestId | string Unique identifier for the sign-up request (from |
| publicKeyCredential | string The public key credential for attestation as returned by |
{- "requestId": "string",
- "publicKeyCredential": "string"
}{- "requestId": "string",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}| requestId | string Unique identifier for the sign-in request (from |
| publicKeyCredentialWithAssertion | string The public key credential with assertion. |
{- "requestId": "string",
- "publicKeyCredentialWithAssertion": "string"
}{- "requestId": "string",
- "username": "string"
}Initiates the process of adding a new passkey to a user's account.
| name required | string Name of the user to be registered. |
{- "name": "string"
}{- "requestId": "string",
- "options": "string"
}Completes the process of adding a new passkey to a user's account.
| requestId | string Unique identifier for the sign-up request (from |
| publicKeyCredential | string The public key credential for attestation as returned by |
{- "requestId": "string",
- "publicKeyCredential": "string"
}{- "requestId": "string",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}Retrieves a list of credentials associated with a specific user by UUID.
| uuid required | string <uuid> |
{- "passkeys": [
- {
- "credentialId": "string",
- "userHandle": "string",
- "signatureCount": 0,
- "displayName": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastUsedAt": "2019-08-24T14:15:22Z"
}
]
}Creates a new application and returns its details.
| name | string Name of the new application. |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Retrieves details of a specific application by its ID.
| id required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the name of a specific application by its ID.
| id required | string <uuid> |
"string"{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}