Updated on November 10, 2026
A lab can use WhatsApp to tell patients their test results are ready, but the safest design is to send a link to the lab’s portal, where the patient verifies their identity, not the report as a PDF attached to the chat. Test results are health data, which Brazil’s data protection law (LGPD) treats as sensitive personal data, and a PDF delivered in a chat leaves your control the moment it arrives. Prep instructions, collection confirmations and “result available” notices fit in short utility templates that don’t name the test.
This guide covers the flow design, the templates, a payload example and the limits set by WhatsApp’s policy and the LGPD. The legal references are Brazilian, but the reasoning applies to any regulated health market.
Why not send the PDF report over WhatsApp
Sending the PDF looks convenient. The problem is what happens after delivery:
- The file stays on the phone. Anyone with access to the device, the gallery or the backup can open it. Family-shared phones are common.
- A wrong number becomes a data leak. One mistyped digit in the patient record sends one person’s results to someone else. There is no undo.
- Forwarding takes one tap. The lab loses control over where the document goes.
- You don’t know who opened it. The API’s “read” status means the message was read on the device, not that the patient saw the result.
With an authenticated link, the report stays in your system. The patient opens the link, confirms their identity (for example, date of birth or a code sent through another channel) and only then sees the result. You log who accessed it and when, you can expire the link, and you can revoke it if the number was wrong.
What the LGPD and WhatsApp’s policy say
Under the LGPD (Law 13,709/2018), health data is sensitive personal data (art. 5, II). Article 11 lists when it may be processed: with the data subject’s specific and prominent consent or, without consent, in cases such as health protection in procedures carried out by health professionals or health services. Other points that shape the flow:
- Necessity (art. 6, III). Processing must be limited to the minimum needed. Saying “your result is available” achieves the goal; naming the test adds nothing.
- Security (art. 46). Controllers and processors must adopt technical and administrative measures to protect data from unauthorized access.
- Sharing (art. 11, §4). The law restricts sharing health data between controllers for economic advantage, with exceptions listed in that paragraph.
The WhatsApp Business Messaging Policy adds two rules. First, don’t use WhatsApp for telemedicine or to send or request health information where applicable regulation requires heightened protection for it. Second, don’t ask people to share full national ID numbers or other sensitive identifiers. That is why the patient’s CPF (Brazil’s taxpayer ID, widely used as a personal identifier) should not be requested in the chat: identity is checked in the portal.
This article explains the law and the policy but does not replace advice from your lawyer or the lab’s data protection officer (DPO). For consent and opt-out in general, see LGPD and WhatsApp.
Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →
The four messages a lab sends
| Moment | Triggered by | Likely category | Content |
|---|---|---|---|
| Appointment confirmed | Scheduling system | Utility | Date, time and collection site |
| Prep instructions | Scheduling system, 24 to 48 h before | Utility | Link to the prep instructions for the order |
| Sample collected | Lab system | Utility | Confirmation and estimated turnaround |
| Result available | LIS (laboratory information system) | Utility | Notice without the test name, with an authenticated link |
According to Meta’s template categorization page, utility messages are non-promotional and specific to, or requested by, the user. If you add a discounted check-up offer to the result notice, the template becomes marketing. Keep each message to one purpose.
Exam preparation
Prep instructions are the message that prevents the most re-collections. The catch is that instructions vary by test (fasting, pausing a medication as directed by the physician, collecting urine at a set time) and, listed in the text, reveal what the patient is about to do. The fix is the same as for results: the template notifies and the link opens the instructions for that order.
“Hi {{1}}. Your collection at the {{2}} site is booked for {{3}}. Tap the button below for the prep instructions for your order. Questions? Just reply to this message.”
Add a dynamic URL button (https://portal.example.com/prep/{{1}}) and a quick-reply button “I need to reschedule”.
Result available
“Hi {{1}}. A result from your visit on {{2}} is now available on the Example Lab portal. Tap the button and confirm your details to view it.”
Notice what is missing: test name, values, ordering physician. The template only says there is something to see.
How the authenticated link works
A template URL button accepts a variable suffix. Use it for a random single-use token, never for the order number or a national ID:
- The LIS releases the report and generates a random token (for example, 32 characters) tied to the visit, with an expiry the lab defines.
- Your system sends the template with the token in the button.
- The patient taps it, lands on the portal and confirms a second factor the lab already has (date of birth, a code sent by SMS or email, or a login).
- The portal logs the access and displays the report, with a download option.
- If the number was wrong or the patient asks, the lab invalidates the token.
The token alone should never open the report: if someone else sees the message, the second factor still protects the patient. Choose the second factor with your DPO, keeping your audience in mind (older patients, parents of young children).
Sending the result notice
The payload follows the Cloud API format. The URL button uses sub_type: "url" and receives only the token:
{
"messaging_product": "whatsapp",
"to": "5511999999999",
"type": "template",
"template": {
"name": "result_available",
"language": { "code": "en" },
"components": [
{
"type": "body",
"parameters": [
{ "type": "text", "text": "Maria" },
{ "type": "text", "text": "11/03/2026" }
]
},
{
"type": "button",
"sub_type": "url",
"index": "0",
"parameters": [
{ "type": "text", "text": "f3a9c1e07b2d4e6f8a1b3c5d7e9f0a2b" }
]
}
]
}
}
In the approved template, the button points to https://portal.example.com/r/{{1}}. Store the returned wamid with the visit and track statuses via webhook: if you get failed, the patient was not notified and the lab needs another channel.
Cases that need extra care
- Tests for children and teenagers. The notice goes to the registered guardian. The LGPD (art. 14) requires that children’s and teenagers’ data be processed in their best interest.
- Critical results. Critical values are not communicated by an automated template. The lab’s and physician’s protocol (phone call, direct contact) still applies; WhatsApp doesn’t replace it.
- Patients who send a photo of the test order. Patients often send a photo of the physician’s order to get a quote. That is health data arriving in the chat: download the media into your system, keep it off staff phones and set a deletion period with your DPO. The technical steps are in how to download media received via webhook.
- Questions about the result. Staff can help with portal access and turnaround times. Interpreting the report is the ordering physician’s job.
How much it costs
Since October 1, 2026, for recipients in Brazil, each delivered utility template costs BRL 0.0350 on Meta’s rate card, and each marketing template costs BRL 0.3217 (Meta pricing). Also since that date, utility templates sent inside a customer service window opened by the patient are charged. Free-form replies from staff inside the window are service messages: each number gets 1,000 free per month, and charging starts at the 1,001st.
In the flow above, each visit generates up to four utility templates (booking, prep, sample collected and result). Estimate your own volume with the WhatsApp API pricing calculator.
How to do this with Vectalk
Vectalk is a proxy for Meta’s official Cloud API. Your LIS or scheduling system calls POST https://apis.vectalk.com.br/api/messages with the same JSON as above and an instance token in the Authorization: Bearer header, as described on the send template page. You create and track templates in the dashboard’s templates area, which includes a Template Library as a starting point.
Billing is prepaid: Vectalk attaches its own credit line to your number, each delivered message is deducted from your balance, and you don’t register a card with Meta. With coexistence, the front desk keeps using the WhatsApp Business app on the same number.
What Vectalk doesn’t do: it has no built-in support inbox, AI or bulk-sending tool in the dashboard, and it doesn’t store reports. The authenticated portal, the support queue and the sending logic live in your system. To get started, create your account. If your operation also runs a practice, see WhatsApp for dentists and the broader guide to WhatsApp for clinics. For the full picture of the platform, read the official WhatsApp API guide.
Frequently asked questions
Can I send lab test results as a PDF over WhatsApp?
The API can send documents, but for reports the recommended design is an authenticated link. A PDF stays on the device, can be forwarded and reaches whoever holds the phone. The LGPD requires proportionate security measures (art. 46), and WhatsApp’s policy calls for care with health information where regulation requires heightened protection. Decide with your DPO.
Is the result notice a utility or a marketing template?
It tends to be utility: it is specific to the patient and has no promotional intent. If you add an offer, a discount or an invitation to another test, Meta classifies it as marketing. Mixed-content messages become marketing under the categorization rules.
Can I ask for the patient’s ID number on WhatsApp to release the result?
It is not recommended. WhatsApp’s policy prohibits asking for full national ID numbers and other sensitive identifiers. Verify identity in the portal with a second factor the lab already has.
Do I need consent to send the result notice?
Meta requires opt-in to receive messages from the business, with the lab’s name stated clearly. For processing health data, article 11 of the LGPD provides legal bases, including specific consent and health protection. Choosing the basis is a legal decision: ask your lawyer. See also how to build an opt-in list.
Can patients reply with questions?
Yes. A reply opens a 24-hour window in which staff can answer with free-form text. Use it for portal access and timing questions; interpreting results stays with the physician.
Official sources consulted on November 10, 2026: Law 13,709/2018 (LGPD), WhatsApp Business Messaging Policy, Template categorization (Meta), Get opt-in for WhatsApp (Meta), Pricing on the WhatsApp Business Platform (Meta), Send template in the Vectalk API, Vectalk API authentication.
Put your business on the official WhatsApp
Create your account, connect your number to the official API (you can keep the app with coexistence) and start serving customers and sending messages.
