WhatsApp Business Platform QR Code: 2027 Guide
Create, edit and delete a WhatsApp Business Platform QR code with Meta's API. Covers the 140-character message limit, the 2,000 code cap and wa.me links.
By Arkay · Updated · Published
What is a WhatsApp Business Platform QR code?
A WhatsApp Business Platform QR code is a QR code, and a short link that goes with it, that Meta creates for a business phone number. The short link has the form https://wa.me/message/ followed by a 14-character code. When a customer scans the code, a chat opens with your business and a pre-filled message of up to 140 characters.
The code is alphanumeric, so it contains letters and numbers and no phone number. The API returns it as code when the code is created. You need that identifier to edit or delete the code later.
You can view, create, edit and delete these codes in two places: the WhatsApp Business Management API and the Business Manager user interface. Meta's QR codes and short links guide, in its WhatsApp developer documentation, covers both.
How does a Platform QR code compare with a wa.me click-to-chat link?

The main difference is control. A Platform code can have its pre-filled message changed after it is printed, and it can be deleted. A wa.me link cannot be changed once it exists, so a new link has to be made. The table below is our comparison, compiled from Meta's and WhatsApp's own pages on November 20, 2026.
| WhatsApp Platform QR code or short link | Click-to-chat wa.me link | |
|---|---|---|
| Where it is made | WhatsApp Business Management API, or Business Manager | Typed by hand; no account tool needed |
| Link format | https://wa.me/message/{code} | https://wa.me/<number>?text=<urlencodedtext> |
| Phone number in the link | No; a 14-character alphanumeric code | Yes, in full international format |
| Pre-filled message | Up to 140 characters | URL-encoded text; no limit stated on the page |
| QR image | Returned as SVG or PNG by the API | None; must be made elsewhere |
| Edit the message later | Yes | No; a new link has to be made |
| Retire the link | Delete it; users then see an expiry error | Not possible |
| Expiry | Does not expire automatically | Not applicable |
| Limit | 2,000 codes and short links combined per business phone number | Not applicable |
| Analytics | Not available | Not stated |
The phone number is the next difference. A click-to-chat link shows your number in full international format, with zeroes, brackets and dashes left out. A Platform code uses a 14-character code in place of your number. WhatsApp's Help Center article on click to chat describes click-to-chat links. It also covers a link with no number, https://wa.me/?text=..., which lets the customer pick a contact.
A Platform code gives you a way to correct a message after the material is already out. A wa.me link gives you no such option, so anything printed with it stays as it was. Choose a Platform code when the message may need to change, and a wa.me link when a fixed link with your number in it is enough.
How do you create a Platform QR code with the API?

You can create a code in the Business Manager user interface or through the API. This section follows the API route, which Meta documents in the QR code API reference of its WhatsApp developer documentation.
- Get the phone number ID of your WhatsApp Business Platform number, and a Bearer token for the API. The base path for every request is
https://graph.facebook.com/{version}/{phone-number-id}/message_qrdls. Meta's examples use Graph API version v27.0. - Send a POST request to the base path. In the body, set
prefilled_messageto your text, up to 140 characters, and setgenerate_qr_imagetoSVGorPNG. - Read the response. It returns
code,prefilled_message,deep_link_urlandqr_image_url. - Save the code. You need it for every later update or delete.
- Open
qr_image_urlto get the image of the code.
The deep link follows a fixed pattern: https://wa.me/message/ followed by the code. Meta's example is https://wa.me/message/4O4YGZEG3RIVE1. You can put this short link on a website, in an email or in a social profile, where a QR image would not fit.
You choose the image format when you create the code. Meta recommends SVG for print, so choose SVG if the code will go on paper or on signs. You can still ask for the other format later by reading the code again.
How do you list, update and delete QR codes?
Every request in this section uses the base path from the previous section, with a Bearer token.
| Action | Request | What it does |
|---|---|---|
| List codes | GET the base path | Returns a data array of codes |
| Read one code | GET the base path with /{code} | Returns that code; add a fields value such as qr_image_url.format(SVG) to get an image URL |
| Update the message | POST to the base path with code and prefilled_message | Sets a new pre-filled message |
| Delete a code | DELETE the base path with /{code} | Retires the code permanently |
Updating is the safer way to change a message. The update request needs only two properties, code and prefilled_message. The code stays the same, and only its pre-filled message changes.
Deleting is final. Meta says deletion cannot be undone and affects any existing marketing materials that use the QR code. A successful delete returns {"success": true}. Delete a code only when you are sure that no printed material still points to it.
Meta documents 400, 401, 403, 404 and 500 errors for these calls. Check the response from each call before you rely on it.
What limits apply to WhatsApp QR codes?
Two limits matter most when you plan codes.
The first is the number of codes. A single business phone number cannot be associated with more than 2,000 QR codes and short links. Codes and short links count together, so both use the same allowance. Use the list call to see which codes a number already has.
The second is message length. A QR code scan can start a pre-filled message of up to 140 characters of text. Write your message to fit within that limit, because it applies to every scan.
Codes do not expire automatically, and Meta provides no analytics for them. Both points are covered in the questions below.
What does a customer see when they scan?
A customer who scans a code gets a chat with your business and your pre-filled message. Three situations are different.
On desktop, a short link opens a chat in the WhatsApp desktop client if the customer has it installed. If not, the customer is prompted to install it.
A customer who blocked your business is asked whether they want to unblock it to continue messaging them.
A customer who opens a deleted code or short link sees the message "This QR code [short link] has expired."
These cases matter for planning. If a printed code is deleted, every scan of it ends in the expired message, so the printed material stops working.
How should you print and place the code?
Meta recommends the SVG format for the best quality in print materials, and it recommends SVG for signage as well. Request the SVG by reading the code with fields set to qr_image_url.format(SVG).
Meta also recommends that you do not customize the color or look and feel of the code itself, because changes can reduce readability. Leave the code as the API generates it.
Deleting a printed code is the costly mistake. Deletion is permanent and affects existing marketing materials, as covered above. Where you can, edit the pre-filled message instead of deleting the code. An edit changes the message while the code stays the same.
How did we compile this comparison?
We compiled this comparison on November 20, 2026, from three published sources: Meta's QR codes and short links guide, Meta's QR code API reference (both in Meta's WhatsApp developer documentation), and WhatsApp's Help Center article on click to chat. It draws on published information only, and no prices are involved.
None of the sources says that the rules differ by country. As we read them, the same rules apply in the United States, the United Kingdom and Europe.
More guides in WhatsApp Business.
Frequently asked questions
- Do WhatsApp QR codes expire?
- No. Platform QR codes do not expire automatically. A code stops working when you delete it, and a customer who opens it then sees a message that it has expired.
- Can I track scans of a WhatsApp QR code?
- No. Meta provides no analytics for QR codes and short links, because it limits the amount of data it logs to protect user privacy.