> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/sdks-and-cli/membership/passkeys-recovery/verify-passkey-registration.md).

# Verify Passkey Registration

These endpoints power passwordless sign-in (passkeys / WebAuthn) and account recovery (magic links, recovery codes, email verification) for your app's end users. Verifies the passkey registration.

This method is on the runtime **API** surface (`norbix.api.membership`) — call it from your app.

{% hint style="info" %}
These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See [Install a Norbix SDK](/sdks-and-cli/install.md).
{% endhint %}

{% tabs %}
{% tab title="JavaScript / TypeScript" %}

```ts
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.api.membership.verifyPasskeyRegistration({
  verificationToken: 'vtok_a1b2c3d4e5',
  ceremonyId: 'cer_4kX9mQvR2tYw7ZbC1dFgHj',
  attestationResponse: '{"id":"...","response":{}}',
  friendlyName: 'Alice\'s laptop',
});
```

{% endtab %}

{% tab title=".NET" %}

```csharp
using Norbix.Sdk;
using Norbix.Sdk.Types.Api;

using var client = new NorbixClient();

var result = await client.Membership.VerifyPasskeyRegistrationAsync(new VerifyPasskeyRegistrationRequest
{
    VerificationToken = "vtok_a1b2c3d4e5",
    CeremonyId = "cer_4kX9mQvR2tYw7ZbC1dFgHj",
    AttestationResponse = "{\"id\":\"...\",\"response\":{}}",
    FriendlyName = "Alice's laptop",
});
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixApi

norbix = NorbixApi()

result = norbix.membership.verify_passkey_registration(
    verificationToken="vtok_a1b2c3d4e5",
    ceremonyId="cer_4kX9mQvR2tYw7ZbC1dFgHj",
    attestationResponse="{\"id\":\"...\",\"response\":{}}",
    friendlyName="Alice's laptop",
)
```

{% endtab %}

{% tab title="Go" %}

```go
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
err := c.API.Membership.VerifyPasskeyRegistration(ctx, map[string]any{
	"verificationToken": "vtok_a1b2c3d4e5",
	"ceremonyId": "cer_4kX9mQvR2tYw7ZbC1dFgHj",
	"attestationResponse": "{\"id\":\"...\",\"response\":{}}",
	"friendlyName": "Alice's laptop",
}, &result)
```

{% endtab %}

{% tab title="Dart / Flutter" %}

```dart
import 'package:norbix/norbix_api.dart';

final api = NorbixApi();

final result = await api.membership.verifyPasskeyRegistration(body: {
  'verificationToken': 'vtok_a1b2c3d4e5',
  'ceremonyId': 'cer_4kX9mQvR2tYw7ZbC1dFgHj',
  'attestationResponse': '{"id":"...","response":{}}',
  'friendlyName': 'Alice\'s laptop',
});
```

{% endtab %}

{% tab title="Swift" %}

```swift
import NorbixSwift

let client = Norbix()

let result = try await client.api.membership.verifyPasskeyRegistration([
    "verificationToken": "vtok_a1b2c3d4e5",
    "ceremonyId": "cer_4kX9mQvR2tYw7ZbC1dFgHj",
    "attestationResponse": "{\"id\":\"...\",\"response\":{}}",
    "friendlyName": "Alice's laptop",
])
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
import dev.norbix.sdk.api.NorbixApi

val api = NorbixApi()

val result = api.membership.verifyPasskeyRegistration(mapOf(
    "verificationToken" to "vtok_a1b2c3d4e5",
    "ceremonyId" to "cer_4kX9mQvR2tYw7ZbC1dFgHj",
    "attestationResponse" to "{\"id\":\"...\",\"response\":{}}",
    "friendlyName" to "Alice's laptop",
))
```

{% endtab %}

{% tab title="CLI" %}

```sh
norbix api membership passkey registration verify --verificationToken vtok_a1b2c3d4e5 --ceremonyId cer_4kX9mQvR2tYw7ZbC1dFgHj --attestationResponse '{"id":"...","response":{}}' --friendlyName 'Alice'\''s laptop'
```

{% endtab %}
{% endtabs %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Membership → Passkeys & Recovery](/norbix-cloud/membership.md).

## API reference

Full request and response for this endpoint: [Verify Passkey Registration](/api-reference/membership/passkeys-recovery/verify-passkey-registration.md).
