← Blog

·

Feegow and iClinic + WhatsApp Business API: appointment confirmations

Updated on November 24, 2026

Feegow and iClinic, two widely used clinic management systems in Brazil, already offer WhatsApp appointment confirmations as a paid feature inside the product. If the clinic wants to send messages from its own number, with templates and buttons it controls, the route is to connect the schedule to the official WhatsApp Business API: Feegow has a public API with appointment and status-update endpoints, while for iClinic we found no documented public API. This guide covers what each system states publicly and how to build the Feegow integration.

What each system offers today

Before you integrate anything, check whether the built-in feature is enough. The table summarizes each company’s official pages, checked on November 24, 2026.

FeegowiClinic
Manual WhatsApp confirmationYes, through WhatsApp Web or DesktopNot stated
Automatic confirmations and remindersYes, with “WhatsApp 2.0”, a separately purchased add-onYes, in the automatic messaging package, from the Plus plan up
Sending numberNot statedA standard, dedicated Afya iClinic number, not the clinic’s
Status updated in the scheduleYes, the patient confirms or cancels through a linkYes, it changes to “confirmed” or “canceled by patient”
Public APIYes, documented at docs.feegow.comNot found on official pages
WebhooksNot documentedNot documented

Feegow

Feegow’s help center describes two features. The first is a manual confirmation through WhatsApp Web: the front desk clicks the appointment and the system opens the chat with the text ready. The license’s master user grants the “Confirmar agendamentos” (confirm appointments) permission. The second is “WhatsApp 2.0”, an add-on that automates appointment confirmations, prep instructions and reminders; the patient taps a link, enters their date of birth and confirms or cancels, and the status changes in the schedule.

For developers, Feegow maintains a public API. Its help center is clear that the customer builds the integration: Feegow does not develop integrations or recommend partners (how to integrate Feegow via API).

iClinic

The patient messaging page offers automatic WhatsApp reminders, confirmations, follow-up invitations and satisfaction surveys, with the status changing on its own in the schedule. The support center explains that messages come from a standard Afya iClinic number and that, after a cancellation, a “Reagendar” (reschedule) button takes the patient to the clinic’s WhatsApp.

We found no public API or webhooks for iClinic on its official pages. The extensions page lists Google Calendar and Apple Calendar integrations, both one-way and view-only. If you need an API integration, ask iClinic support directly before planning.

When to integrate with the official API

The built-in feature is the simplest option. Your own integration makes sense when:

  • The clinic wants its own number. Patients recognize the clinic’s name and reply to the same contact they already talk to.
  • Replies need to reach the front desk. “Can I change the time?” goes to the reception team in the system they already use, not to an automated sending number.
  • You want control over copy and sequence. Exam prep the day before, a six-month follow-up reminder, a document checklist: each becomes your own template.
  • Other systems are involved. A CRM, an AI scheduling agent or BI need the same events.

The cost is development and maintenance. For the broader healthcare picture, see WhatsApp for clinics.

Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →

The Feegow API in 5 minutes

According to the official documentation:

  • Base URL: https://api.feegow.com/v1/api
  • Authentication: the x-access-token header. An admin creates the token under Configurações > Outras Configurações > API Pública > “Gerar novo Token” (Settings > Other Settings > Public API > Generate new token) and sets each token’s permissions. An inactive token returns 403.
  • Heads-up: Feegow has already revoked old tokens and asked master users to generate new ones (official notice). If your integration stopped responding, start there.
EndpointMethodRole in confirmations
/appoints/searchGETLists appointments by period, professional, patient or status (data_start, data_end, profissional_id, paciente_id, status_id)
/appoints/statusGETLists the possible statuses and their IDs
/appoints/statusUpdatePOSTChanges the status (AgendamentoID, StatusID, optional Obs)
/appoints/cancel-appointPOSTCancels the appointment
/appoints/reschedulePOSTReschedules
/appoints/available-scheduleGETOpen slots, useful for offering a new time

There is no separate “confirm” endpoint: the documentation’s example confirms by sending StatusID 7 (“Marcado – confirmado”, booked and confirmed) to statusUpdate. Call /appoints/status on your account to check the IDs before hard-coding them.

The confirmation flow, step by step

  1. Every morning, fetch tomorrow’s appointments from /appoints/search with data_start and data_end.
  2. Build the template for each appointment with patient name, date, time and professional.
  3. Send it through the WhatsApp API and store the returned wamid with the AgendamentoID.
  4. Receive the button tap via webhook. Templates with quick reply buttons come back as a type: "button" message carrying the payload you set when sending.
  5. Update Feegow with statusUpdate: confirmed, or canceled with a note.
  6. If the patient asks to reschedule, the conversation is open: the front desk replies inside the customer service window.

Suggested template

Name confirmacao_consulta, suggested category utility (Meta sets the category during review, following its categorization rules). For Brazilian patients it is written in Portuguese; in English it would read:

Hi {{1}}. Your appointment with {{2}} is scheduled for {{3}} at {{4}}, at {{5}}. Can you confirm you’ll attend?

Quick reply buttons: “I confirm” and “I need to reschedule”. More ready-to-use variations are in appointment confirmation messages with buttons.

Keep diagnoses, exam names and sensitive specialties out of the template text. WhatsApp previews appear on the lock screen, and health data is sensitive personal data under Brazil’s LGPD (Law 13,709/2018, art. 5, II), the country’s data protection law. Settle the legal basis and consent with the clinic’s lawyer; this article is not legal advice. A summary is in LGPD and WhatsApp.

Example: fetch appointments and send

# 1. Tomorrow's appointments in Feegow (check the date format in the docs)
curl -s "https://api.feegow.com/v1/api/appoints/search?data_start=25-11-2026&data_end=25-11-2026" \
  -H "x-access-token: $FEEGOW_TOKEN"

# 2. Template with quick reply buttons through the WhatsApp API (via Vectalk)
curl -X POST "https://apis.vectalk.com.br/api/messages" \
  -H "Authorization: Bearer $VECTALK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "messaging_product": "whatsapp",
    "to": "5584999999999",
    "type": "template",
    "template": {
      "name": "confirmacao_consulta",
      "language": { "code": "pt_BR" },
      "components": [
        { "type": "body", "parameters": [
          { "type": "text", "text": "Ana" },
          { "type": "text", "text": "Dra. Paula Lima" },
          { "type": "text", "text": "25/11/2026" },
          { "type": "text", "text": "14h30" },
          { "type": "text", "text": "Clínica Exemplo, unidade Centro" }
        ]},
        { "type": "button", "sub_type": "quick_reply", "index": "0",
          "parameters": [ { "type": "payload", "payload": "confirmar:123456" } ] },
        { "type": "button", "sub_type": "quick_reply", "index": "1",
          "parameters": [ { "type": "payload", "payload": "remarcar:123456" } ] }
      ]
    }
  }'

The payload carries the AgendamentoID (123456 in the example). When the tap comes back through the webhook, you know which appointment to update without another lookup.

Example: handle the tap and update Feegow

// Express: receives the webhook in Meta's format and updates the Feegow schedule
app.post('/webhook/whatsapp', express.json(), async (req, res) => {
  res.sendStatus(200); // answer fast; process afterwards

  const value = req.body.entry?.[0]?.changes?.[0]?.value;
  const msg = value?.messages?.[0];
  if (!msg || msg.type !== 'button') return;

  const [action, appointmentId] = msg.button.payload.split(':');
  const statusId = action === 'confirmar' ? 7 : null; // check IDs at /appoints/status

  if (statusId) {
    await fetch('https://api.feegow.com/v1/api/appoints/statusUpdate', {
      method: 'POST',
      headers: {
        'x-access-token': process.env.FEEGOW_TOKEN,
        'Content-Type': 'application/json',
      },
      body: JSON.stringify({
        AgendamentoID: Number(appointmentId),
        StatusID: statusId,
        Obs: 'Confirmed by the patient via WhatsApp',
      }),
    });
  } else {
    // "I need to reschedule": notify the front desk in the clinic's service tool
  }
});

For “I need to reschedule”, do not change the status automatically: route it to the front desk, which can offer slots from /appoints/available-schedule. If the clinic uses an AI agent to reschedule, see AI appointment scheduling on WhatsApp.

What about iClinic?

With no documented public API, there is no official path we can describe for automatically connecting the iClinic schedule to your own number. The realistic options are:

  • Use iClinic’s messaging package, with Afya iClinic’s standard number, and keep the clinic’s number for patient conversations.
  • Ask iClinic support about API integrations for your plan.
  • Split the messages: confirmations through iClinic, other communications (results ready, vaccination campaigns, birthdays) through the official API with the clinic’s number.

What API confirmations cost

Meta charges per delivered message. For recipients in Brazil, since October 1, 2026, utility costs BRL 0.0350 per message (platform pricing). A clinic with 600 appointments a month, sending one confirmation and one reminder each, spends 1,200 × BRL 0.0350 = BRL 42.00 with Meta.

Front-desk replies inside the window are service messages: each number gets 1,000 free per month and pays from the 1,001st on. Utility templates sent while the window is open have also been billed since October 1, 2026. Try other scenarios in the cost calculator.

How to do it with Vectalk

Vectalk is a proxy for the official WhatsApp API: the send JSON and webhooks are Meta’s, so the code above works by changing only the URL and token. With coexistence, the clinic’s number stays on the WhatsApp Business app on the front desk’s phone and on the API at the same time (coexistence).

In the dashboard you create templates (with the Template Library), register the webhook that receives button taps and check the logs. Billing is a monthly plan plus a prepaid balance, with no card in Meta. Vectalk has no built-in inbox or AI: patient conversations stay in the clinic’s system or in the tool connected to the API. See the documentation or create an account.

Frequently asked questions

Does Feegow send WhatsApp confirmations on its own?

Yes, with “WhatsApp 2.0”, a separately purchased add-on. Without it, there is the manual confirmation through WhatsApp Web.

Does iClinic send messages from my clinic’s number?

No, according to its support center: automatic messages come from a standard, dedicated Afya iClinic number.

Does Feegow have a new-appointment webhook?

The public documentation does not describe webhooks. Poll /appoints/search periodically.

Can I use the Feegow API without buying anything extra?

The documentation describes token creation by the admin without mentioning plans. Confirm with Feegow whether your license includes the public API.

Is an appointment confirmation a utility template?

Usually, yes: it is a notice about a service the patient booked. Meta makes the call, and copy with an offer becomes marketing.


Official sources checked on November 24, 2026: Feegow API documentation, Feegow: API integration, Feegow: manual WhatsApp Web confirmation, Feegow: WhatsApp 2.0, Feegow: token update, iClinic: patient messaging, iClinic: how patients receive messages, iClinic: extensions, WhatsApp: template categorization, WhatsApp: pricing, Vectalk documentation.

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.