> ## Documentation Index
> Fetch the complete documentation index at: https://omniloy.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# APIs: WhatsApp

> API events and contracts used in MarIA WhatsApp flows

This page groups the APIs that belong specifically to the **WhatsApp** channel.

## Events (MarIA → your backend)

| Event                     | WhatsApp usage                |
| ------------------------- | ----------------------------- |
| `appointment.created`     | Appointment created from chat |
| `appointment.rescheduled` | Appointment rescheduled       |
| `appointment.cancelled`   | Appointment cancelled         |

## Integration webhooks (MarIA → EHR/HIS)

| Webhook                   | WhatsApp usage                  |
| ------------------------- | ------------------------------- |
| `appointment.getBenefits` | Benefits/coverage catalog       |
| `appointment.getSlots`    | Available slot lookup           |
| `appointment.create`      | Appointment creation            |
| `appointment.cancel`      | Appointment cancellation        |
| `appointment.getList`     | Patient appointment list        |
| `directory.centers`       | Center directory lookup         |
| `directory.professionals` | Professional directory lookup   |
| `patient.authenticate`    | Patient identity/authentication |
| `patient.onboard`         | New patient onboarding          |

## Security and full contracts

* Webhook signing: [HMAC Signature Verification](/maria/en/webhooks-firmas)
* Full event catalog: [Webhooks: Events](/maria/en/webhooks-eventos)
* HIS integration details: [EHR/HIS Integration](/maria/en/integraciones-ehr)
