Get Individual Message QR Code
Retrieve details for a specific QR code by its unique identifier. Supports field selection and QR image generation. Response returns QR code in data array for consistency.
Request
- Base URLhttps://graph.facebook.com
- URLhttps://graph.facebook.com/{Version}/{Phone-Number-ID}/message_qrdls/{QR-Code-ID}
- AuthHTTP bearer
Path parameters
Graph API version to use for this request. Determines the API behavior and available features.
The WhatsApp Business Account phone number ID that owns the QR code. This ID is provided when you add a phone number to your WhatsApp Business Account.
The unique 14-character identifier of the QR code to retrieve. This is the code value returned when the QR code was created.
Query parameters
Comma-separated list of fields to include in the response. Available fields:
- code: QR code identifier (always included)
- prefilled_message: Pre-filled message text (always included)
- deep_link_url: WhatsApp deep link URL (always included)
- creation_time: Unix timestamp when QR code was created (first-party apps only)
- qr_image_url.format(FORMAT): QR code image URL where FORMAT is SVG or PNG
Example: "code,prefilled_message,qr_image_url.format(SVG)"
Headers
The user agent string identifying the client software making the request.
Bearer token for API authentication. This should be a valid access token obtained through the appropriate OAuth flow or system user token.
Response
Successfully retrieved the message QR code details
Example response
{
"code": "ANED2T5QRU7HG1",
"prefilled_message": "Hi! I'm interested in your products. Can you help me?",
"deep_link_url": "https://wa.me/message/ANED2T5QRU7HG1",
"qr_image_url": "https://scontent-iad3-2.xx.fbcdn.net/m1/v/t6/An-psFmLBls2NFXnhhkSVqwIHEqCTQoNKTLxxlOeci0Wbsukd2RLiwZalHrXwqT5RTFSzOhyw6OLvJJO0itaQtJI1BS2WkNcV67wR3GNx7ZX1tFSNCbpo1e6KPptKF1GbVGzmUfkgSPX?ccb=10-5&oh=00_AfAOAr6oRA2OKV_Ur3GUh4em57sACxUkfhXHsObiFrxOsA&oe=64DCCEF6&_nc_sid=5a413f"
}Changes
No recorded changes to this operation across all 5 revisions of this API.