Skip to content

Errors

The API returns JSON { "error": "..." } with the corresponding HTTP status.

Common

HTTPTypical meaning
400Validation / invalid request / Credit or quota
401Missing or invalid API key / JWT
404Resource not found
409Conflict (e.g. payment settle)
413Media upload > 16 MB
429Rate limit
500Internal error

Billing

Example messages:

  • Kuota pesan paket … sudah habis. Naikkan paket untuk lanjut kirim.
  • kuota Sandbox (… pesan/bulan) sudah habis
  • identity verification required before sending to production numbers

Fair-use gating uses FAIR_USE_ENFORCE. Messaging W-Coin debit is off in the Tech Provider model (MESSAGING_WALLET_ENABLED=false).

Webhook forward

If a forward URL is rejected: ensure HTTPS and that the host does not resolve to a private IP (see Webhooks).