Get QR Code of Public Card
Retrieve the QR code of a digital business card dynamically and share it with your contacts.
Send a POST
request to the server to receive the image URL for the dynamic QR code in response.
POST
/v1/public/card/{UUID}/qr-code
Path Parameters
UUID*
String
Card UUID
{
"url": "https://cdn.becard.me/live/card_qrcodes/39-*****.jpg"
}
Offline QR-Code
Offline? No problem. Generate and let the user download the offline QR code before heading to a location without an internet connection. Learn how to generate this as an alternative to the dynamic QR code through the API.
STEP 1: Request a Signature Key
We need to send a request to the server, to get a signature key.
POST
/v1/public/card/{UUID}/qr-code/offline
Path Parameters
UUID*
String
Card UUID
expires=1697764975&signature=c1747a63f5786029f748a6ef404d1574c885e2731444e9ab54f9fa3049c5436f
STEP 2: Request the offline QR-Code
As part of the initial response, you received an 'expires
' and 'signature
' value. For the GET
request, append this response as query parameters to obtain the offline QR code as a data image in base64 format
.
GET
/v1/public/card/{UUID}/qr-code/offline?{SIGNATURE}
Path Parameters
UUID
String
Card UUID
Query Parameters
expires*
int
signature*
string
data:image/png;base64,iVBORw0KGgoAAAANSUhEU....
Last updated