Skip to main content
Unified Messaging API is the recommended API for new integrations. It lets your app choose channels, delivery mode, fallback rules, OTP templates, and logs from one token.

Endpoint

Headers

Send text

Parameters

Delivery examples

WhatsApp first, SMS fallback

SMS only

WhatsApp QR and SMS together

Unified OTP

Unified OTP is generated and verified by KarFlows. It can deliver the same code by WhatsApp QR, Meta, SMS, or a combination.

Send OTP

Verify OTP

OTP security

KarFlows protects OTP verification with:
  • Server-side code generation.
  • Hashed OTP storage.
  • Expiry windows.
  • Attempt limits per pinId.
  • Rate limits per phone and IP.
  • Logs for failed, expired, and blocked attempts.
Never generate OTP codes on the frontend.

Logs

Logs include every channel attempt, not only the final success.

Webhooks

Unified Webhooks notify your application when routing, delivery, and OTP events happen. Create them in the customer dashboard under Unified API > Webhooks. Webhooks follow the same plan rule as Unified API, so if Unified API is disabled or the plan expires, webhook management is blocked too.

Available events

Security headers

Every webhook delivery is signed.
Verify the signature using the webhook secret shown when the webhook is created. See the Webhooks reference for full verification examples.

Pagination

Webhook endpoint lists are limited to 20 rows per page inside KarFlows. This keeps the dashboard usable for high-volume customers with many integrations.