all

Master Qryptal's Secure QR Code Generation API using Postman

  • Bhavin Sanghvi
  • Jun 07, 2022
  • 3 min read
Master Qryptal's Secure QR Code Generation API using Postman

Sign up for a Qryptal free trial account - use API platforms like Postman to explore Qryptal services

Qryptal’s primary goal is to enhance document security and verifiability by embedding digitally signed secure QR codes. The Qryptal solution provides various means for customers to generate and add these QR codes to documents and enables easy verification. To learn more, visit our technology section.

Qryptal offers free trial accounts to users who want to experience secure QR code generation and validation services. The easy-to-use web interface and Restful APIs enable seamless integration with most modern document management systems, which typically have built-in capabilities for calling external web-based APIs. Most customers can complete the integration process in less than a day.

This blog will guide you through setting up a free trial account with Qryptal and help you explore the Qryptal Secure Code System (QSCS) Generation API using Postman, a popular API platform for building and testing APIs.

  1. Create a Trial Account

    Visit / and click on “Get a free trial”.

  2. Complete the account setup

Postman Demo Step 2
  1. Get hold of the API documentation, host details, and API tokens

    Visit the Setup Page (Settings > Setup) to retrieve your assigned QSCS Host, Port (443), and Test / Production Secure QR API Tokens under the “Generate Secure QR Codes directly using API” section.

Postman Demo Step 3a Postman Demo Step 3b

Full QSCS API Documentation is available @ https://gotoqr.com/QSCS2API.

Please read through the API Documentation to get familiar with the payload structure (data, format, scheme) and supported code types (EDC, PDC, HDC).

  1. Test with Postman

    Install the Postman app if not already installed.

    Download the official QSCS API Postman Collection directly (right-click and save as QSCS_API.postman_collection.json, or import it directly via URL in Postman).

    Import QSCS_API.postman_collection.json into your Postman Workspace.

Postman Demo Step 4

Open the collection’s Variables tab and configure QSCSHost, port (443), and token with the host details and Test API Token from your Dash2 Setup page—all requests in the collection automatically inherit https://{{QSCSHost}}:{{port}}/v2/Vqodes/ and Authorization: Token {{token}}. (Note: Many sample requests in the collection also reference a QR Profile named QRProfile1—ensure this profile is created under QR Profiles in Dash2, or start with the URL QR sample under Getting Started that specifies QR size and background directly.)

Postman Demo Step 4b

Select a sample request (for example, Generate QR with Multiple Attachments under Generation, or one of the samples under Getting Started), review the payload JSON and any file attachments (img1, file1, file2), and click the Send button to call POST /v2/Vqodes/.

Postman Demo Step 4c

The JSON API response should look like this:

Postman Demo Step 4d

You can retrieve the generated QR image directly from the qr_b64 field (Base64-encoded PNG) or generate a QR code yourself using the raw cryptographic payload string in code_content. The response also returns quuid and code_token for subsequent Update and Revoke calls (the collection automatically saves these into collection variables so you can immediately test the included Update, Revoke, and Validation requests).

In Postman, click the Visualization tab in the response pane to preview the rendered QR code image directly from qr_b64:

Postman Demo Step 4e

To learn more, please refer to the further reading section or write to support@qryptal.com with your queries and comments.


Further reading -



Suggested further reading

**Overview**

    Overview

    • 0 min read
    Qryptal Secure encrypted QR code technology is designed to make any document tamper-proof & instantly verifiable by any third party in a **unique server-less architecture**.
    Continue Reading

    Why wait? It is easy to integrate Qryptal
    Take the first step today!

    feature image feature image