This article explains how to use the Set Expiry feature in QR Mark to automatically expire document verifications and display a custom message.
The Set Expiry feature allows users to define an expiry date and message for each document verification. Once the expiry date is reached, the QR Code will stop displaying the document’s details and show the expiry message instead. This helps ensure that outdated or time-bound documents are no longer valid after a specific period.
Expiry can be configured during individual verification creation, enforced through landing page templates, applied during bulk operations, or set via the API.
A. Set expiry during verification creation
Users can manually set the expiry date and message while creating a verification.
To do this:
Go to Verification in the left sidebar
Click Create Verification
Select the document and upload the file
In the Set Expiry Date section, click the "+" icon
Select an expiry date (e.g., next year)
Enter a custom message (e.g., “This document has expired and is no longer valid”)
Once submitted, the verification will automatically expire on the selected date and display the message when scanned.
B. Enforce expiry in landing page templates
When creating or editing a landing page template, expiry can be enforced to make it mandatory for all verifications using that template.
To do this:
Go to Templates
Create a new Page template or edit an existing one
In the Verification Rules section, enable Set Expiry
Once enabled, entering an expiry date becomes mandatory
Optionally, define a default expiry message
Click Save
All document verifications using this template will require an expiry date and a message before they can be created.
C. Set expiry in Bulk Operations
Users can apply a common expiry date and message to all documents in a bulk verification batch.
To do this:
Go to Bulk Operations in the left sidebar
Click Create Bulk Verifications
Upload the documents for verification
In the batch settings, enable Set Expiry
Enter a single expiry date and a custom message
Click Submit to process the batch
Each document in the batch will inherit the specified expiry settings. After expiry, scanning the QR Code will display the configured message instead of the document information.
D. Set expiry using QR Mark API
The Set Expiry feature is also available via the QR Mark API for automated workflows.
While creating verifications through the API, users can pass the following parameters:
expiry_date: The date on which the verification should expireexpiry_message: The message to display after the document expires
Example:
{
"expiry_date": "2025-12-31",
"expiry_message": "This document has expired and is no longer valid"
}
Once expired, the QR Code will display the message in place of the document details.
For implementation steps, refer to the QR Mark API documentation.
If you have any questions, you can see more topics in this knowledge base or reach out to the customer relations team at support@qrmark.com.