Skip to content

whatsapp_kapso — permissions

Namespaced by the registry from the module's get_permissions().

PermissionGatesEndpoints
whatsapp_kapso.settings.readView connection statusGET /api/v1/whatsapp_kapso/settings
whatsapp_kapso.settings.writeManage credentials, sync + map templates, test sendPUT /settings, POST /templates/sync, POST /templates/map, POST /test

Default role mapping: admin only (role_permissions = {"admin": ["*"]}).

Public endpoint (no permission)

POST /api/v1/whatsapp_kapso/webhook is unauthenticated by design (vendor callback). It is protected by a per-clinic HMAC signature (X-Webhook-Signature) and clinic resolution via phone_number_id, plus a rate limit. Never trust a clinic_id in the payload.