Unlock Your Unique Potential With QR Codes. Try it now!

Experience an accurate and effective QR code generator that saves you time and money - the ultimate solution for your business and personal needs.

Effortless QR Code Automation at Scale with QR Zam API

Introduction

With QR Zam API, you can seamlessly automate the creation of multiple QR codes, enabling you to scale your QR code projects with ease. Whether you require a batch of branded QR codes that align with your company's identity or sleek black and white QR codes for a minimalist touch, our API puts the power of choice in your hands.

Our pricing model for API usage is directly tied to the specific pricing plan you choose.

TOC

Authentication

QR Zam's API employs industry-standard authentication mechanisms to ensure the security of your interactions with our service. To access the API and make authorized requests, you will need an API key.

  • Public API Key: To obtain an API key, you must sign up for an account on the QR Zam platform. Once registered, you can generate or copy an API key through your account API management section. This API key must be included in the headers of your API requests using the following format:
    X-PUBLIC-API-KEY: Your-Public-API-Key
    
  • Secret API Key: To obtain an API key, you must sign up for an account on the QR Zam platform. Once registered, you can generate or copy an API key through your account API management section. This API key must be included in the headers of your API requests using the following format:
    X-API-KEY: Your-Secret-API-Key
    

    Ensure that you keep your API key secure, as it grants access to your account and the associated QR code generation capabilities. In the event of a compromised API key, you can regenerate a new one through your account settings to maintain security.

By providing your unique API key in the request headers, you will be granted authorized access to QR Zam's API, allowing you to create and manage QR codes seamlessly. This authentication mechanism ensures the confidentiality and integrity of your data throughout your interactions with the API.

Common API Response Format

The responses from all API endpoints follow a standardized format. Regardless of the specific endpoint or request, the API response will include the following key elements:

NameData TypeDescription
codeintAn integer code indicating the status of the response.
messagestringA message providing additional information about the response, if applicable.
timestampintA Unix timestamp indicating when the response was generated.
dataanyThe main payload of the response, which may contain various types of data depending on the specific API endpoint.

API

Base URL: https://api.qrzam.com/v1


Public QR Code

GET /public/qrcodes/generate (Generate QR code image)

Generate a QR code image

Parameters (Query)

NameTypeData TypeDescription
formatoptionalenumImage format of QR code. Enum:
0: SVG, 1: PNG, 2: JPG
sizeoptionalintImage size of QR code in pixel. (max: 2000)
downloadoptionalboolA boolean flag indicating if download is needed.
datarequiredstringThe text content for the QR code.
backColoroptionalstringThe background color of the QR code.
frontColoroptionalstringThe foreground (text) color of the QR code.
gradientoptionalenumThe type of gradient used in the QR code. Enum:
0: None, 1: Linear, 2: Radial
gradientColoroptionalstringThe color used for the gradient background, if applicable.
patternoptionalenumThe pattern type applied to the QR code. Enum:
0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19:
markerOutoptionalenumThe marker type for the outer part of the QR code. Enum:
0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19:
markerInoptionalenumThe marker type for the inner part of the QR code. Enum:
0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25:
markerOutColoroptionalstringThe color for the outer marker, if applicable.
markerInColoroptionalstringThe color for the inner marker, if applicable.
marker1OutColoroptionalstringThe color for marker top right (outer), if applicable.
marker1InColoroptionalstringThe color for marker top right (inner), if applicable.
marker2OutColoroptionalstringThe color for marker bottom left (outer), if applicable.
marker2InColoroptionalstringThe color for marker bottom left (inner), if applicable.
logooptionalstringThe URL or path to the logo image, if applicable.
logoSizeoptionalintThe size of the logo image, if applicable. (min: 0, max: 100)
noLogoBgoptionalboolIndicates whether the background is transparent when no logo is used.
frameoptionalenumThe type of frame or border around the QR code. Enum:
0: 1: 2: 3: 4: 5: 6: 7:
frameLabeloptionalstringThe label or text displayed within the QR code frame, if applicable.
frameLabelSizeoptionalintThe font size of the frame label, if applicable. (min: 0, max: 100)
frameColoroptionalstringThe color of the QR code frame, if applicable.

Responses

HTTP CodeContent-TypeResponse
200image/svg+xml, image/png, image/jpgImage representation of QR code.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request GET \
  --url 'https://api.qrzam.com/v1/public/qrcodes/generate?size=600&format=0&data=https:%2F%2Fqrzam.com&backColor=%23FFFFFF&frontColor=%23000000&markerOut=10&markerIn=6&markerOutColor=rgba(146,+177,+245,+1)&markerInColor=rgba(37,+99,+235,+1)&logoSize=80&noLogoBg=true&frame=3&frameLabel=%23MakeYourQR&frameLabelSize=100' \
  --header 'X-PUBLIC-API-KEY: {publicApiKey}'

Example response

Example response


QR Code

GET /admin/qrcodes (Retrieve QR codes)

Retrieve a list of QR codes

Parameters (Query)

NameTypeData TypeDescription
searchoptionalstringThe keyword for searching QR codes.
offsetoptionalintThe offset for pagination (default: 0).
limitoptionalintThe maximum number of results to return (default: 10).

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation list of QR code data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request GET \
--url 'https://api.qrzam.com/v1/admin/qrcodes?offset=0&limit=10' \
--header 'X-API-KEY: {secretApiKey}' \

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1694565533,
    "data": [
        {
            "id": "57a56db6-5e60-451b-89f2-cfc95930d370",
            "createdAt": "2023-09-17T11:15:42.697Z",
            "updatedAt": "2023-09-17T11:15:42.697Z",
            "name": "Dynamic URL QR",
            "active": true,
            "dynamic": true,
            "type": 0,
            "data": {
                "url": "https://qrzam.com"
            },
            "setting": {},
            "design": {
                "backColor": "#FFFFFF",
                "frontColor": "#000000",
                "markerOutColor": "#000000",
                "markerInColor": "#000000"
            }
        }
    ]
}
POST /admin/qrcodes (Create QR code)

Create a new QR code

Parameters (Body)

NameTypeData TypeDescription
namerequiredstringThe name or label associated with the QR code.
activeoptionalboolIndicates whether the QR code is active or not.
dynamicoptionalboolIndicates whether the QR code is dynamic or not.
typeoptionalenumThe type of QR code, specifying its purpose or content. Enum:
0: Link (Dynamic/Static)
1: Text (Static)
2: Email (Dynamic/Static)
3: Phone (Dynamic/Static)
4: Sms (Dynamic/Static)
5: Whatsapp (Dynamic/Static)
6: Skype (Dynamic/Static)
7: Zoom (Dynamic/Static)
8: Wifi (Static)
9: Vcard (Static)
10: Event (Static)
11: Paypal (Dynamic/Static)
12: Bitcoin (Dynamic/Static)
13: AppStore (Dynamic)
14: LandingPage (Dynamic)
16: Location (Dynamic/Static)
datarequiredanyThe main payload of the QR code, which can contain various types of data depending on the specific QR code type. One of:
Link data, Text data, Email data, Phone data, SMS data, WhatsApp data, Skype data, Zoom data, Wifi data, vCard data, Event data, PayPal data, Bitcoin data, App Store data, Location data, Landing page data
settingoptionalQR code setting dataAdditional settings for the QR code's configuration.
designoptionalQR code design dataThe design-related settings for the QR code appearance.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation of QR code data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request POST \
  --url https://api.qrzam.com/v1/admin/qrcodes \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {secretApiKey}' \
  --data '{
    "name": "Dynamic Qr Code URL",
    "active": true,
    "dynamic": true,
    "type": 0,
    "data": {
        "url": "https://qrzam.com"
    },
    "setting": {
        "qrFolderId": "",
        "expiryAt": "",
        "password": ""
    },
    "design": {
        "backColor": "#FFFFFF",
        "frontColor": "#000000",
        "bgImage": "",
        "gradient": 0,
        "gradientColor": "#FF89CF",
        "pattern": 0,
        "markerOut": 0,
        "markerIn": 0,
        "markerOutColor": "",
        "markerInColor": "",
        "marker1OutColor": "",
        "marker1InColor": "",
        "marker2OutColor": "",
        "marker2InColor": "",
        "logo": "",
        "logoSize": 100,
        "noLogoBg": false,
        "frame": 0,
        "frameLabel": "",
        "frameLabelSize": 100,
        "frameColor": "#000000"
    }
}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1695256938,
    "data": {
        "id": "5035fd56-8b5d-4d69-a060-e42ffad81691",
        "createdAt": "2023-09-21T00:42:19.583Z",
        "updatedAt": "2023-09-21T00:42:19.583Z",
        "name": "Dynamic Qr Code URL",
        "active": true,
        "dynamic": true,
        "type": 0,
        "data": {
            "url": "https://qrzam.com"
        },
        "setting": {},
        "design": {
            "backColor": "#FFFFFF",
            "frontColor": "#000000",
            "gradientColor": "#FF89CF",
            "markerOutColor": "#000000",
            "markerInColor": "#000000",
            "marker1OutColor": "#000000",
            "marker1InColor": "#000000",
            "marker2OutColor": "#000000",
            "marker2InColor": "#000000",
            "logoSize": 100,
            "frameLabelSize": 100,
            "frameColor": "#000000"
        }
    }
}
PUT /admin/qrcodes/{qrCodeId} (Updates QR code)

Updates a QR code

Parameters (Path)

NameTypeData TypeDescription
qrCodeIdrequiredstringThe unique identifier for the QR code.

Parameters (Body)

Parameters (Body)

NameTypeData TypeDescription
namerequiredstringThe name or label associated with the QR code.
activeoptionalboolIndicates whether the QR code is active or not.
typeoptionalenumThe type of QR code, specifying its purpose or content. Enum:
0: Link (Dynamic/Static)
1: Text (Static)
2: Email (Dynamic/Static)
3: Phone (Dynamic/Static)
4: Sms (Dynamic/Static)
5: Whatsapp (Dynamic/Static)
6: Skype (Dynamic/Static)
7: Zoom (Dynamic/Static)
8: Wifi (Static)
9: Vcard (Static)
10: Event (Static)
11: Paypal (Dynamic/Static)
12: Bitcoin (Dynamic/Static)
13: AppStore (Dynamic)
14: LandingPage (Dynamic)
16: Location (Dynamic/Static)
datarequiredanyThe main payload of the QR code, which can contain various types of data depending on the specific QR code type. One of:
Link data, Text data, Email data, Phone data, SMS data, WhatsApp data, Skype data, Zoom data, Wifi data, vCard data, Event data, PayPal data, Bitcoin data, App Store data, Location data, Landing page data
settingoptionalQR code setting dataAdditional settings for the QR code's configuration.
designoptionalQR code design dataThe design-related settings for the QR code appearance.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation of QR code data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request PUT \
  --url https://api.qrzam.com/v1/admin/qrcodes/{qrCodeId} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {secretApiKey}' \
  --data '{
    "name": "Dynamic Qr Code URL",
    "active": true,
    "dynamic": true,
    "type": 0,
    "data": {
        "url": "https://qrzam.com"
    },
    "setting": {
        "qrFolderId": "",
        "expiryAt": "",
        "password": ""
    },
    "design": {
        "backColor": "#FFFFFF",
        "frontColor": "#000000",
        "bgImage": "",
        "gradient": 0,
        "gradientColor": "#FF89CF",
        "pattern": 0,
        "markerOut": 0,
        "markerIn": 0,
        "markerOutColor": "",
        "markerInColor": "",
        "marker1OutColor": "",
        "marker1InColor": "",
        "marker2OutColor": "",
        "marker2InColor": "",
        "logo": "",
        "logoSize": 100,
        "noLogoBg": false,
        "frame": 0,
        "frameLabel": "",
        "frameLabelSize": 100,
        "frameColor": "#000000"
    }
}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1695257028,
    "data": {
        "id": "5035fd56-8b5d-4d69-a060-e42ffad81691",
        "createdAt": "2023-09-21T00:42:19.583Z",
        "updatedAt": "2023-09-21T00:43:49.803Z",
        "name": "Dynamic Qr Code URL",
        "active": true,
        "dynamic": true,
        "type": 0,
        "data": {
            "url": "https://qrzam.com"
        },
        "setting": {},
        "design": {
            "backColor": "#FFFFFF",
            "frontColor": "#000000",
            "gradientColor": "#FF89CF",
            "markerOutColor": "#000000",
            "markerInColor": "#000000",
            "marker1OutColor": "#000000",
            "marker1InColor": "#000000",
            "marker2OutColor": "#000000",
            "marker2InColor": "#000000",
            "logoSize": 100,
            "frameLabelSize": 100,
            "frameColor": "#000000"
        }
    }
}
GET /admin/qrcodes/{qrCodeId} (Retrieve QR code)

Retrieve a QR code

Parameters (Path)

NameTypeData TypeDescription
qrCodeIdrequiredstringThe unique identifier for the QR code.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation of QR code data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request GET \
  --url https://api.qrzam.com/v1/admin/qrcodes/{qrCodeId} \
  --header 'X-API-KEY: {secretApiKey}' \

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1694134917,
    "data": {
        "id": "9b111e78-9247-4016-89b2-1e09cd3ee905",
        "createdAt": "2023-08-25T09:55:00.721Z",
        "updatedAt": "2023-08-25T10:11:34.000Z",
        "name": "test 123",
        "active": true,
        "dynamic": true,
        "type": 0,
        "data": {
            "url": "https://qrzam.com"
        },
        "setting": {
            "expiryAt": "",
            "password": ""
        },
        "design": {
            "backColor": "#FFFFFF",
            "frontColor": "#000000",
            "customMarkerColor": false,
            "diffMarkerColor": false,
            "logo": "0",
            "logoSize": 100,
            "frameLabel": "SCAN ME",
            "frameLabelSize": 100,
            "frameColor": "#000000"
        }
    }
}
DELETE /admin/qrcodes/{qrCodeId} (Delete QR code)

Delete a QR code

Parameters (Path)

NameTypeData TypeDescription
qrCodeIdrequiredstringThe unique identifier for the QR code.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation with empty data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request DELETE \
  --url https://api.qrzam.com/v1/admin/qrcodes/{qrCodeId} \
  --header 'X-API-KEY: {secretApiKey}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1694134915
}
GET /admin/qrcodes/{qrCodeId}/generate (Generate QR code image)

Generate a QR code image

Parameters (Path)

NameTypeData TypeDescription
qrCodeIdrequiredstringThe unique identifier for the QR code.

Parameters (Query)

NameTypeData TypeDescription
formatoptionalenumImage format of QR code. Enum:
0: SVG, 1: PNG, 2: JPG
sizeoptionalintImage size of QR code in pixel. (max: 2000)
downloadoptionalboolA boolean flag indicating if download is needed.

Responses

HTTP CodeContent-TypeResponse
200image/svg+xml, image/png, image/jpgImage representation of QR code.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request GET \
  --url 'https://api.qrzam.com/v1/admin/qrcodes/{qrCodeId}/generate?size=600&format=0&download=true' \
  --header 'X-API-KEY: {secretApiKey}'

Example response

Example response


Folder

GET /admin/folders (Retrieve folders)

Retrieve a list of folders

Parameters (Query)

NameTypeData TypeDescription
searchoptionalstringThe keyword for searching.
offsetoptionalintThe offset for pagination (default: 0).
limitoptionalintThe maximum number of results to return (default: 10).

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation list of folder data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request GET \
  --url 'https://api.qrzam.com/v1/admin/folders?offset=0&limit=10' \
  --header 'X-API-KEY: {secretApiKey}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1694565533,
    "data": [
        {
            "id": "aa1b79e4-cb1a-41da-b9c9-d704f9a0882e",
            "createdAt": "2023-08-11T14:29:30.864Z",
            "name": "Campaign Green"
        }
    ]
}
POST /admin/folders (Create folder)

Create a new folder

Parameters (Body)

NameTypeData TypeDescription
namerequiredstringThe name or label associated with the folder.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation of folder data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request POST \
  --url https://api.qrzam.com/v1/admin/folders \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {secretApiKey}' \
  --data '{
    "name": "Campaign Green"
}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1693958003,
    "data": {
        "id": "e385ff3e-e20c-4d8a-9321-ba2dcaf8f383",
        "createdAt": "2023-09-05T23:53:23.729Z",
        "name": "Campaign Green"
    }
}
PUT /admin/folder/{folderId} (Updates folder)

Updates a folder

Parameters (Path)

NameTypeData TypeDescription
folderIdrequiredstringThe unique identifier for the folder.

Parameters (Body)

NameTypeData TypeDescription
namerequiredstringThe name or label associated with the folder.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation of folder data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request PUT \
  --url https://api.qrzam.com/v1/admin/folders/aa1b79e4-cb1a-41da-b9c9-d704f9a0882e \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {secretApiKey}' \
  --data '{
    "name": "Campaign Green"
}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1694992484,
    "data": {
        "id": "aa1b79e4-cb1a-41da-b9c9-d704f9a0882e",
        "createdAt": "2023-08-11T14:29:30.864Z",
        "name": "Campaign Green"
    }
}
GET /admin/folder/{folderId} (Retrieve folder)

Retrieve a folder

Parameters (Path)

NameTypeData TypeDescription
folderIdrequiredstringThe unique identifier for the folder.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation of folder data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request GET \
  --url https://api.qrzam.com/v1/admin/folders/aa1b79e4-cb1a-41da-b9c9-d704f9a0882e \
  --header 'X-API-KEY: {secretApiKey}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1694992562,
    "data": {
        "id": "aa1b79e4-cb1a-41da-b9c9-d704f9a0882e",
        "createdAt": "2023-08-11T14:29:30.864Z",
        "name": "Campaign Green"
    }
}
DELETE /admin/folders/{folderId} (Delete folder)

Delete a folder

Parameters (Path)

NameTypeData TypeDescription
folderIdrequiredstringThe unique identifier for the folder.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation with empty data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request DELETE \
  --url https://api.qrzam.com/v1/admin/folders/e385ff3e-e20c-4d8a-9321-ba2dcaf8f383 \
  --header 'X-API-KEY: {secretApiKey}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1693961489
}

Landing page

GET /admin/pages (Retrieve landing pages)

Retrieve a list of landing pages

Parameters (Query)

NameTypeData TypeDescription
searchoptionalstringThe keyword for searching.
offsetoptionalintThe offset for pagination (default: 0).
limitoptionalintThe maximum number of results to return (default: 10).

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation list of landing page data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request GET \
  --url 'https://api.qrzam.com/v1/admin/pages?offset=0&limit=10' \
  --header 'X-API-KEY: {secretApiKey}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1694995061,
    "data": [
        {
            "id": "68e685de-d887-479b-bbbe-480932b31c19",
            "createdAt": "2023-04-20T14:55:53.844Z",
            "updatedAt": "2023-08-13T09:19:03.492Z",
            "name": "Example Digital Card",
            "slug": "example-digital-card",
            "url": "https://lp.qrzam.com/example-digital-card",
            "type": 1,
            "status": 1
        }
  ]
}  
POST /admin/pages (Create landing page)

Create a new landing page

Parameters (Body)

NameTypeData TypeDescription
namerequiredstringThe name associated with the landing page (e.g., "Example Digital Card").
slugoptionalstringA slug for the landing page (e.g., "example-digital-card").
typerequiredenumThe type of landing page. Enum:
0: Custom HTML
statusrequiredenumThe status of the landing page. Enum:
0: Draft
1: Publish
metarequiredanyThe main payload of the landing page, which can contain various types of data depending on the specific landing page type. One of:
Custom HTML

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation of landing page data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request POST \
  --url https://api.qrzam.com/v1/admin/pages \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {secretApiKey}' \
  --data '{
    "type": 0,
    "status": 1,
    "name": "my html page",
    "meta": {
        "setting": {
            "html": "<!doctype html>\n  <html>\n  <head>\n      <meta charset=\"UTF-8\">\n      <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n      <script src=\"https://cdn.tailwindcss.com\"></script>\n      <style type=\"text/tailwindcss\">\n          .link {\n              @apply border rounded-full px-10 py-1 font-semibold;\n          }\n      </style>\n  </head>\n  <body>\n      <div class=\"min-h-screen bg-gradient-to-r from-indigo-500 to-violet-400 flex flex-col gap-4 items-center text-center py-16 px-6 text-white\">\n          <div class=\"w-40 h-40\">\n              <img src=\"https://qrzam.com/s3/qr/b596d9e4-3dc1-43ba-8001-a024ca69e8d1/uploaded/QRZam%20Logo_Icon%20with%20Light%20BG_bah74t.png\" alt=\"avatar\"class=\"rounded-full border-2 shadow-md object-cover w-full h-full\" />\n      </div>\n      <div class=\"user\">\n          <h2 class=\"font-bold text-lg\">@qrzam</h2>\n          <p class=\"text-sm\">\n              Experience accurate and effective QR code generator. Get started for FREE!\n          </p>\n      </div>\n      <div class=\"flex flex-col gap-2 mt-4\">\n          <a class=\"link\" href=\"#\">Website</a>\n          <a class=\"link\" href=\"#\">Facebook</a>\n          <a class=\"link\" href=\"#\">Twitter</a>\n          <a class=\"link\" href=\"#\">Instagram</a>\n          <a class=\"link\" href=\"#\">Youtube</a>\n      </div>\n  </div>\n  </body>\n  </html>"
        }
    }
}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1707276523,
    "data": {
        "id": "2a23cb0f-2fc0-4f55-9c73-6d9e6f55722b",
        "createdAt": "2024-02-07T03:28:43.790Z",
        "updatedAt": "2024-02-07T03:28:43.790Z",
        "name": "my html page",
        "slug": "my-html-page",
        "url": "https://lp.qrzam.com/my-html-page",
        "type": 0,
        "status": 1
    }
}
PUT /admin/pages/{landingPageId} (Updates landing page)

Updates a landing page

Parameters (Path)

NameTypeData TypeDescription
landingPageIdrequiredstringThe unique identifier for the landing page.

Parameters (Body)

NameTypeData TypeDescription
namerequiredstringThe name associated with the landing page (e.g., "Example Digital Card").
slugoptionalstringA slug for the landing page (e.g., "example-digital-card").
typerequiredenumThe type of landing page. Enum:
0: Custom HTML
statusrequiredenumThe status of the landing page. Enum:
0: Draft
1: Publish
metarequiredanyThe main payload of the landing page, which can contain various types of data depending on the specific landing page type. One of:
Custom HTML

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation of landing page data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request PUT \
  --url https://api.qrzam.com/v1/admin/pages/2a23cb0f-2fc0-4f55-9c73-6d9e6f55722b \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: {secretApiKey}' \
  --data '{
    "type": 0,
    "status": 1,
    "name": "my html page",
    "meta": {
        "setting": {
            "html": "<!doctype html>\n  <html>\n  <head>\n      <meta charset=\"UTF-8\">\n      <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n      <script src=\"https://cdn.tailwindcss.com\"></script>\n      <style type=\"text/tailwindcss\">\n          .link {\n              @apply border rounded-full px-10 py-1 font-semibold;\n          }\n      </style>\n  </head>\n  <body>\n      <div class=\"min-h-screen bg-gradient-to-r from-indigo-500 to-violet-400 flex flex-col gap-4 items-center text-center py-16 px-6 text-white\">\n          <div class=\"w-40 h-40\">\n              <img src=\"https://qrzam.com/s3/qr/b596d9e4-3dc1-43ba-8001-a024ca69e8d1/uploaded/QRZam%20Logo_Icon%20with%20Light%20BG_bah74t.png\" alt=\"avatar\"class=\"rounded-full border-2 shadow-md object-cover w-full h-full\" />\n      </div>\n      <div class=\"user\">\n          <h2 class=\"font-bold text-lg\">@qrzam</h2>\n          <p class=\"text-sm\">\n              Experience accurate and effective QR code generator. Get started for FREE!\n          </p>\n      </div>\n      <div class=\"flex flex-col gap-2 mt-4\">\n          <a class=\"link\" href=\"#\">Website</a>\n          <a class=\"link\" href=\"#\">Facebook</a>\n          <a class=\"link\" href=\"#\">Twitter</a>\n          <a class=\"link\" href=\"#\">Instagram</a>\n          <a class=\"link\" href=\"#\">Youtube</a>\n      </div>\n  </div>\n  </body>\n  </html>"
        }
    }
}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1707276523,
    "data": {
        "id": "2a23cb0f-2fc0-4f55-9c73-6d9e6f55722b",
        "createdAt": "2024-02-07T03:28:43.790Z",
        "updatedAt": "2024-02-07T03:28:43.790Z",
        "name": "my html page",
        "slug": "my-html-page",
        "url": "https://lp.qrzam.com/my-html-page",
        "type": 0,
        "status": 1
    }
}
GET /admin/pages/{landingPageId} (Retrieve landing page)

Retrieve a landing page

Parameters (Path)

NameTypeData TypeDescription
landingPageIdrequiredstringThe unique identifier for the landing page.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation of landing page data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request GET \
  --url https://api.qrzam.com/v1/admin/pages/2a23cb0f-2fc0-4f55-9c73-6d9e6f55722b \
  --header 'X-API-KEY: {secretApiKey}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1707276849,
    "data": {
        "id": "2a23cb0f-2fc0-4f55-9c73-6d9e6f55722b",
        "createdAt": "2024-02-07T03:28:43.790Z",
        "updatedAt": "2024-02-07T03:30:03.401Z",
        "name": "my html page",
        "slug": "my-html-page",
        "url": "https://lp.qrzam.com/my-html-page",
        "type": 0,
        "status": 1,
        "meta": {
            "setting": {
                "html": "<!doctype html>\n  <html>\n  <head>\n      <meta charset=\"UTF-8\">\n      <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n      <script src=\"https://cdn.tailwindcss.com\"></script>\n      <style type=\"text/tailwindcss\">\n          .link {\n              @apply border rounded-full px-10 py-1 font-semibold;\n          }\n      </style>\n  </head>\n  <body>\n      <div class=\"min-h-screen bg-gradient-to-r from-indigo-500 to-violet-400 flex flex-col gap-4 items-center text-center py-16 px-6 text-white\">\n          <div class=\"w-40 h-40\">\n              <img src=\"https://qrzam.com/s3/qr/b596d9e4-3dc1-43ba-8001-a024ca69e8d1/uploaded/QRZam%20Logo_Icon%20with%20Light%20BG_bah74t.png\" alt=\"avatar\"class=\"rounded-full border-2 shadow-md object-cover w-full h-full\" />\n      </div>\n      <div class=\"user\">\n          <h2 class=\"font-bold text-lg\">@qrzam</h2>\n          <p class=\"text-sm\">\n              Experience accurate and effective QR code generator. Get started for FREE!\n          </p>\n      </div>\n      <div class=\"flex flex-col gap-2 mt-4\">\n          <a class=\"link\" href=\"#\">Website</a>\n          <a class=\"link\" href=\"#\">Facebook</a>\n          <a class=\"link\" href=\"#\">Twitter</a>\n          <a class=\"link\" href=\"#\">Instagram</a>\n          <a class=\"link\" href=\"#\">Youtube</a>\n      </div>\n  </div>\n  </body>\n  </html>"
            }
        }
    }
}
DELETE /admin/pages/{landingPageId} (Delete landing page)

Delete a landing page

Parameters (Path)

NameTypeData TypeDescription
landingPageIdrequiredstringThe unique identifier for the landing page.

Responses

HTTP CodeContent-TypeResponse
200application/jsonJSON representation with empty data.
400application/jsonBad request. Referrence response codes for details.
500application/jsonError request. Referrence response codes for details.

Example cURL

curl --request DELETE \
  --url https://api.qrzam.com/v1/admin/pages/2a23cb0f-2fc0-4f55-9c73-6d9e6f55722b \
  --header 'X-API-KEY: {secretApiKey}'

Example response

{
    "code": 0,
    "message": "",
    "timestamp": 1707276849
}

Response codes

CodeDescription
0Indicates a successful response.
1Internal error.
2Bad request.
3Upgrade require.

Response data

QR code data

NameData TypeDescription
idstringThe unique identifier for the QR code.
createdAtstringThe timestamp (ISO 8601) indicating when the QR code was created (e.g., "2023-09-17T11:15:42.697Z").
updatedAtstringThe timestamp (ISO 8601) indicating when the QR code was last updated (e.g., "2023-09-17T11:15:42.697Z").
namestringThe name or label associated with the QR code.
activeboolIndicates whether the QR code is active or not.
dynamicboolIndicates whether the QR code is dynamic or not.
typeenumThe type of QR code, specifying its purpose or content. Enum:
0: Link (Dynamic/Static)
1: Text (Static)
2: Email (Dynamic/Static)
3: Phone (Dynamic/Static)
4: Sms (Dynamic/Static)
5: Whatsapp (Dynamic/Static)
6: Skype (Dynamic/Static)
7: Zoom (Dynamic/Static)
8: Wifi (Static)
9: Vcard (Static)
10: Event (Static)
11: Paypal (Dynamic/Static)
12: Bitcoin (Dynamic/Static)
13: AppStore (Dynamic)
14: LandingPage (Dynamic)
16: Location (Dynamic/Static)
dataanyThe main payload of the QR code, which can contain various types of data depending on the specific QR code type. One of:
Link data, Text data, Email data, Phone data, SMS data, WhatsApp data, Skype data, Zoom data, Wifi data, vCard data, Event data, PayPal data, Bitcoin data, App Store data, Location data, Landing page data
settingQR code setting dataAdditional settings for the QR code's configuration.
designQR code design dataThe design-related settings for the QR code appearance.
shortLinkQR code short link data (optional)Data related to the short link associated with the QR code.
NameTypeData TypeDescription
urlrequiredstringThe URL to which the QR code will link (e.g., "https://qrzam.com").

QR code text data

NameTypeData TypeDescription
textrequiredstringThe text content for the QR code (e.g., "text").

QR code email data

NameTypeData TypeDescription
emailrequiredstringThe email address (e.g., "[email protected]").
subjectoptionalstringThe email subject.
messageoptionalstringThe email message body.

QR code phone data

NameTypeData TypeDescription
phonerequiredstringThe phone number (e.g., "+1234567890").

QR code sms data

NameTypeData TypeDescription
phonerequiredstringThe phone number (e.g., "+1234567890").
messageoptionalstringThe SMS message content.

QR code WhatsApp data

NameTypeData TypeDescription
phonerequiredstringThe phone number (e.g., "+1234567890").
messageoptionalstringThe WhatsApp message content.

QR code Skype data

NameTypeData TypeDescription
typerequiredenumThe type of Skype action, either "call" or "chat".
usernamerequiredstringThe Skype username or recipient for the specified action.

QR code Zoom data

NameTypeData TypeDescription
idrequiredstringThe Zoom meeting ID for the scheduled meeting.
passoptionalstringThe password or passcode for accessing the meeting.

QR code Wifi data

NameTypeData TypeDescription
typeoptionalenumThe type of Wi-Fi security protocol, either "WEP" or "WPA".
ssidrequiredstringThe SSID (network name) of the Wi-Fi network.
passoptionalstringThe Wi-Fi password, if required.
hiddenoptionalboolIndicates if the Wi-Fi network is hidden.

QR code vCard data

NameTypeData TypeDescription
titleoptionalstringThe title of the contact.
firstnamerequiredstringThe first name of the contact.
lastnamerequiredstringThe last name of the contact.
mobileoptionalstringThe mobile phone number of the contact.
phoneoptionalstringThe phone number of the contact.
emailoptionalstringThe email address of the contact.
websiteoptionalstringThe website URL of the contact.
companyoptionalstringThe company or organization of the contact.
jobTitleoptionalstringThe job title or position of the contact.
phoneOfficeoptionalstringThe office phone number of the contact.
faxoptionalstringThe fax number of the contact.
addressoptionalstringThe street address of the contact.
zipoptionalstringThe postal or ZIP code of the contact's address.
cityoptionalstringThe city of the contact's address.
stateoptionalstringThe state or region of the contact's address.
countryoptionalstringThe country of the contact's address.

QR code event data

NameTypeData TypeDescription
titlerequiredstringThe title or name of the event.
locationoptionalstringThe location or venue of the event.
startTimerequiredstringThe start time of the event (ISO 8601 format).
endTimeoptionalstringThe end time of the event (ISO 8601 format).
noteoptionalstringAdditional notes or descriptions of the event.

QR code PayPal data

NameTypeData TypeDescription
typerequiredenumThe type of PayPal transaction. (Enum: _donations, _xclick, _cart)
emailrequiredstringThe PayPal email address (recipient).
itemNamerequiredstringThe name or description of the item.
priceoptionalfloatThe price of the item.
currencyrequiredenumThe currency of the transaction. (Enum: USD, EUR, AUD, BRL, CAD, CNY, CZK, DKK, HKD, HUF, INR, ILS, JPY, MYR, MXN, TWD, NZD, NOK, PHP, PLN, GBP, RUB, SGD, SEK, CHF, THB)
shippingoptionalfloatThe shipping cost (if applicable).
taxoptionalfloatThe tax amount (if applicable).

QR code Bitcoin data

NameTypeData TypeDescription
typerequiredenumThe type of cryptocurrency. (Enum: bitcoin)
addressrequiredstringThe Bitcoin wallet address.
amountrequiredfloatThe amount of Bitcoin to send.
messageoptionalstringA message or note (if applicable).

QR code App Store data

NameTypeData TypeDescription
appStoreUrlrequiredstringThe URL to the app on the App Store.
googlePlayUrlrequiredstringThe URL to the app on Google Play.

QR code location data

NameTypeData TypeDescription
nameoptionalstringThe name or label for the location.
longituderequiredfloatThe longitude coordinate of the location.
latituderequiredfloatThe latitude coordinate of the location.
zoomoptionalintThe zoom level or scale for displaying the location.

QR code landing page data

NameTypeData TypeDescription
idrequiredstringThe identifier of the landing page.

QR code setting data

NameData TypeDescription
qrFolderIdstringThe folder ID associated with the QR code, if applicable.
expiryAtstringThe expiration timestamp (ISO 8601) for the QR code, if set (e.g., "2023-09-17T11:15:42.697Z").
passwordstringThe password or security code for accessing the QR code, if set.

QR code design data

NameData TypeDescription
backColorstringThe background color of the QR code.
frontColorstringThe foreground (text) color of the QR code.
gradientenumThe type of gradient used in the QR code. Enum:
0: None, 1: Linear, 2: Radial
gradientColorstringThe color used for the gradient background, if applicable.
patternenumThe pattern type applied to the QR code. Enum:
0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19:
markerOutenumThe marker type for the outer part of the QR code. Enum:
0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19:
markerInenumThe marker type for the inner part of the QR code. Enum:
0: 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25:
markerOutColorstringThe color for the outer marker, if applicable.
markerInColorstringThe color for the inner marker, if applicable.
marker1OutColorstringThe color for marker top right (outer), if applicable.
marker1InColorstringThe color for marker top right (inner), if applicable.
marker2OutColorstringThe color for marker bottom left (outer), if applicable.
marker2InColorstringThe color for marker bottom left (inner), if applicable.
logostringThe URL or path to the logo image, if applicable.
logoSizeintThe size of the logo image, if applicable. (min: 0, max: 100)
noLogoBgboolIndicates whether the background is transparent when no logo is used.
frameenumThe type of frame or border around the QR code. Enum:
0: 1: 2: 3: 4: 5: 6: 7:
frameLabelstringThe label or text displayed within the QR code frame, if applicable.
frameLabelSizeintThe font size of the frame label, if applicable. (min: 0, max: 100)
frameColorstringThe color of the QR code frame, if applicable.
NameData TypeDescription
shortIdstringThe unique identifier associated with the short link.
shortUrlstringThe shortened URL generated for the QR code.

Folder data

NameData TypeDescription
idstringThe unique identifier for the folder.
createdAtstringThe timestamp (ISO 8601) indicating when the folder was created (e.g., "2023-09-17T11:15:42.697Z").
namestringThe name or label associated with the folder.

Landing page data

NameData TypeDescription
idstringThe unique identifier for the landing page (e.g., "68e685de-d887-479b-bbbe-480932b31c19").
createdAtstring (ISO 8601)The timestamp (ISO 8601) indicating when the landing page was created (e.g., "2023-04-20T14:55:53.844Z").
updatedAtstring (ISO 8601)The timestamp (ISO 8601) indicating when the landing page was last updated (e.g., "2023-08-13T09:19:03.492Z").
namestringThe name associated with the landing page (e.g., "Example Digital Card").
slugstringA slug for the landing page (e.g., "example-digital-card").
urlstringURL for the landing page (e.g., "https://lp.qrzam.com/example-digital-card").
typeenumThe type of landing page. Enum:
0: Custom HTML
1: Digital Card
2: Coupon
3: Survey Form
4: App Store
5: Restaurant Menu
statusenumThe status of the landing page. Enum:
0: Draft
1: Publish
metaanyThe main payload of the landing page, which can contain various types of data depending on the specific landing page type (Only available with Retrieve landing page).

Landing page custom HTML data

NameTypeData TypeDescription
settingrequiredLanding page custom HTML setting dataLanding page setting data.

Landing page custom HTML setting data

NameTypeData TypeDescription
htmlrequiredstringLanding page HTML content.