Get 2FA QR Code

On this page

Get the QR Code image data for two-factor authentication (2FA) setup.

Generates QR Code image data for two-factor authentication (2FA) setup.

How to Use#

This API will return image URL data (image_url_data). You can render that data into a QR Code image in your application's frontend so it can be scanned by apps such as Google Authenticator or Authy.

OpenAPI#

yaml

openapi: 3.0.0
info:
  title: Arqonara Global API
  version: 1.0.0
  description: Dokumentasi API lengkap untuk Client Arqonara (Account & Server Management).
servers:
  - url: https://panel.arqonara.com/api/client
    description: Client API
security:
  - bearerAuth: []
paths:
  /account/two-factor:
    get:
      tags:
        - Authentication
      summary: Get 2FA QR Code
      description: >-
        Generate a TOTP QR code image.

        Mendapatkan data gambar QR Code untuk pengaturan autentikasi dua faktor (2FA).
      operationId: get-2fa-qr
      responses:
        '200':
          description: QR Code Data
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT