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

# Bekleyen geçiş anahtarı eşleştirme durumunu al

> Geçiş anahtarı eşleştirmesi, QR ile oturum açma sırasında telefondan başlatılır. Telefon bunu istediğinde sunucu bir WebAuthn doğrulama isteği gönderir; bu istek, yanıt gönderilene kadar burada saklanır (ayrıca websocket üzerinden PASSKEY_REQUEST olarak yayınlanır).




## OpenAPI

````yaml /tr/openapi.yml get /app/passkey
openapi: 3.0.0
info:
  title: WhatsApp Çoklu Cihaz API’si
  version: 9.7.0
  description: >
    Bu API, API üzerinden WhatsApp mesajları göndermek için kullanılır.


    Web panosu ayrı bir projedir (gowa-ui); sunucu bu projenin

    en son sürüm dosyasını indirir ve `/` yolunda sunar (veya

    APP_UI_ENABLED=false olduğunda bir JSON başlığı döndürür).


    Cihaz kapsamı:

    - Cihaz kapsamındaki tüm REST çağrılarında `X-Device-Id` gönderin.

    - WebSocket: `/ws?device_id=<id>` adresine bağlanın.

    - WebSocket kimlik doğrulaması (temel kimlik doğrulaması etkinken):
    tarayıcılar WebSocket bağlantılarında
      Authorization üst bilgisi ayarlayamaz; bu nedenle sorgu dizesinde ayrıca
      `&authorization=<base64(user:pass)>` geçirin. Kimlik bilgisi URL’de göründüğünden
      üretim ortamında TLS kullanın.
servers:
  - url: http://localhost:3000
security:
  - basicAuth: []
tags:
  - name: app
    description: WhatsApp sunucusuna ilk bağlantı
  - name: device
    description: Çoklu cihaz desteği için cihaz yönetimi
  - name: user
    description: Bilgi alma
  - name: send
    description: Mesaj gönderme (Metin/Görsel/Dosya/Video).
  - name: message
    description: Mesaj işlemleri (geri alma/tepki verme/güncelleme).
  - name: call
    description: Arama yönetimi (gelen aramaları reddetme)
  - name: chat
    description: Sohbetler ve mesajlaşma
  - name: group
    description: Grup ayarları
  - name: newsletter
    description: Bülten ayarları
  - name: chatwoot
    description: Müşteri desteği için Chatwoot entegrasyonu
paths:
  /app/passkey:
    get:
      tags:
        - app
      summary: Bekleyen geçiş anahtarı eşleştirme durumunu al
      description: >
        Geçiş anahtarı eşleştirmesi, QR ile oturum açma sırasında telefondan
        başlatılır. Telefon bunu istediğinde sunucu bir WebAuthn doğrulama
        isteği gönderir; bu istek, yanıt gönderilene kadar burada saklanır
        (ayrıca websocket üzerinden PASSKEY_REQUEST olarak yayınlanır).
      operationId: appPasskeyStatus
      parameters:
        - $ref: '#/components/parameters/DeviceIdHeader'
      responses:
        '200':
          description: Tamam
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasskeyStatusResponse'
        '500':
          description: Dahili Sunucu Hatası
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInternalServer'
components:
  parameters:
    DeviceIdHeader:
      name: X-Device-Id
      in: header
      required: false
      description: >
        Çoklu cihaz desteği için cihaz tanımlayıcısı. Birden fazla cihaz
        kayıtlıysa zorunludur.

        Yalnızca bir cihaz kayıtlıysa varsayılan olarak kullanılır.

        `device_id` sorgu parametresi olarak da belirtilebilir.
      schema:
        type: string
        example: my-device-id
  schemas:
    PasskeyStatusResponse:
      type: object
      properties:
        code:
          type: string
          example: SUCCESS
        message:
          type: string
          example: Passkey pairing status
        results:
          type: object
          properties:
            device_id:
              type: string
              example: device-1
            status:
              type: string
              enum:
                - none
                - awaiting_response
                - awaiting_confirmation
              example: awaiting_response
            challenge:
              type: object
              nullable: true
              description: >-
                WebAuthn doğrulama isteği seçenekleri
                (PublicKeyCredentialRequestOptions JSON, base64url ile kodlanmış
                ikili alanlar)
              properties:
                challenge:
                  type: string
                  example: dGVzdC1jaGFsbGVuZ2U
                timeout:
                  type: integer
                  example: 60000
                rpId:
                  type: string
                  example: whatsapp.com
                allowCredentials:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      type:
                        type: string
                        example: public-key
                      transports:
                        type: array
                        items:
                          type: string
                userVerification:
                  type: string
                  example: required
            code:
              type: string
              description: Eşleştirme onay kodu (onay beklenirken ayarlanır)
              example: ABCD-EFGH
            skip_handoff_ux:
              type: boolean
              example: false
    ErrorInternalServer:
      type: object
      properties:
        code:
          type: string
          example: INTERNAL_SERVER_ERROR
          description: SYSTEM_CODE_ERROR
        message:
          type: string
          example: you are not loggin
          description: Ayrıntılı hata mesajı
        results:
          type: object
          example: null
          description: ek veriler
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [Geçiş anahtarı eşleştirmesi için WebAuthn doğrulama yanıtını gönder](https://gowa-docs.mintlify.site/tr/api-reference/app/geçiş-anahtarı-eşleştirmesi-için-webauthn-doğrulama-yanıtını-gönder.md)
- [Geçiş anahtarı eşleştirme kodunu onayla](https://gowa-docs.mintlify.site/tr/api-reference/app/geçiş-anahtarı-eşleştirme-kodunu-onayla.md)
- [WebSocket olayları](https://gowa-docs.mintlify.site/tr/api-reference/websocket.md)
- [Bağlantı durumunu al](https://gowa-docs.mintlify.site/tr/api-reference/app/bağlantı-durumunu-al.md)
- [Cihaz bağlantı durumunu al](https://gowa-docs.mintlify.site/tr/api-reference/device/cihaz-bağlantı-durumunu-al.md)


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