> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Post v1panelauthpasskeysregisterfinish

> Stores the new credential. The label travels in the query because the body is the credential and has a shape fixed by WebAuthn.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml post /v1/panel/auth/passkeys/register/finish
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/panel/auth/passkeys/register/finish:
    post:
      tags:
        - panel
      description: >-
        Stores the new credential. The label travels in the query because the
        body is the credential and has a shape fixed by WebAuthn.
      operationId: finishPanelPasskeyRegistration
      parameters:
        - $ref: '#/components/parameters/CSRFToken'
        - in: query
          name: label
          schema:
            type: string
            maxLength: 60
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Passkey registered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Passkey'
        '400':
          $ref: '#/components/responses/Problem'
        '422':
          $ref: '#/components/responses/Problem'
        '503':
          $ref: '#/components/responses/Problem'
components:
  parameters:
    CSRFToken:
      in: header
      name: X-CSRF-Token
      required: true
      description: >-
        Echoes the token from the current session. Required on every unsafe
        method.
      schema:
        type: string
  schemas:
    Passkey:
      type: object
      required:
        - id
        - label
        - createdAt
        - discoverable
      description: >-
        One registered credential. It carries neither the public key nor the
        credential identifier: neither is secret, and neither is any use to an
        operator reading a list.
      properties:
        id:
          type: string
          format: uuid
        label:
          type: string
          maxLength: 60
          description: Chosen by the owner, to tell one device from another.
        createdAt:
          type: string
          format: date-time
        lastUsedAt:
          type: string
          format: date-time
          description: Absent until the key has signed in.
        discoverable:
          type: boolean
          description: Whether the key can sign in without the account being named first.
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.