> ## 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.

# Ambil status pemasangan passkey yang tertunda

> Pemasangan passkey dimulai dari ponsel saat login QR. Saat ponsel memintanya, server mengirim tantangan WebAuthn yang disimpan di sini (juga disiarkan melalui websocket sebagai PASSKEY_REQUEST) hingga respons dikirimkan.




## OpenAPI

````yaml /id/openapi.yml get /app/passkey
openapi: 3.0.0
info:
  title: WhatsApp API MultiDevice
  version: 9.7.0
  description: >
    API ini digunakan untuk mengirim pesan WhatsApp melalui API.


    Dashboard web merupakan proyek terpisah (gowa-ui); server mengunduh aset
    rilis

    terbarunya dan menyajikannya di `/` (atau mengembalikan banner JSON saat

    APP_UI_ENABLED=false).


    Cakupan perangkat:

    - Kirim `X-Device-Id` pada semua panggilan REST yang memiliki cakupan
    perangkat.

    - WebSocket: hubungkan ke `/ws?device_id=<id>`.

    - Autentikasi WebSocket (saat autentikasi dasar diaktifkan): browser tidak
    dapat menyetel
      header Authorization pada koneksi WebSocket, sehingga sertakan juga
      `&authorization=<base64(user:pass)>` dalam query string. Gunakan TLS di
      produksi karena kredensial terlihat di URL.
servers:
  - url: http://localhost:3000
security:
  - basicAuth: []
tags:
  - name: app
    description: Koneksi awal ke server WhatsApp
  - name: device
    description: Pengelolaan perangkat untuk dukungan multi-perangkat
  - name: user
    description: Mengambil informasi
  - name: send
    description: Kirim pesan (teks/gambar/berkas/video).
  - name: message
    description: Manipulasi pesan (cabut/beri reaksi/perbarui).
  - name: call
    description: Pengelolaan panggilan (tolak panggilan masuk)
  - name: chat
    description: Percakapan chat dan perpesanan
  - name: group
    description: Pengaturan grup
  - name: newsletter
    description: Pengaturan newsletter
  - name: chatwoot
    description: Integrasi Chatwoot untuk dukungan pelanggan
paths:
  /app/passkey:
    get:
      tags:
        - app
      summary: Ambil status pemasangan passkey yang tertunda
      description: >
        Pemasangan passkey dimulai dari ponsel saat login QR. Saat ponsel
        memintanya, server mengirim tantangan WebAuthn yang disimpan di sini
        (juga disiarkan melalui websocket sebagai PASSKEY_REQUEST) hingga
        respons dikirimkan.
      operationId: appPasskeyStatus
      parameters:
        - $ref: '#/components/parameters/DeviceIdHeader'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasskeyStatusResponse'
        '500':
          description: Kesalahan Internal Server
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInternalServer'
components:
  parameters:
    DeviceIdHeader:
      name: X-Device-Id
      in: header
      required: false
      description: >
        Pengenal perangkat untuk dukungan multi-device. Wajib jika beberapa
        perangkat terdaftar.

        Jika hanya satu perangkat terdaftar, perangkat tersebut digunakan
        sebagai default.

        Dapat juga diberikan sebagai parameter kueri `device_id`.
      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: >-
                Opsi permintaan assertion WebAuthn (JSON
                PublicKeyCredentialRequestOptions, field biner dienkode
                base64url)
              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: Kode konfirmasi pemasangan (diisi saat menunggu konfirmasi)
              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: Pesan kesalahan terperinci
        results:
          type: object
          example: null
          description: data tambahan
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [Kirim asersi WebAuthn untuk pemasangan passkey](https://gowa-docs.mintlify.site/id/api-reference/app/kirim-asersi-webauthn-untuk-pemasangan-passkey.md)
- [Ambil status koneksi](https://gowa-docs.mintlify.site/id/api-reference/app/ambil-status-koneksi.md)
- [Konfirmasi kode pemasangan passkey](https://gowa-docs.mintlify.site/id/api-reference/app/konfirmasi-kode-pemasangan-passkey.md)
- [Ambil daftar permintaan peserta untuk bergabung ke grup](https://gowa-docs.mintlify.site/id/api-reference/group/ambil-daftar-permintaan-peserta-untuk-bergabung-ke-grup.md)
- [Ambil daftar chat](https://gowa-docs.mintlify.site/id/api-reference/chat/ambil-daftar-chat.md)


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