Skip to content

API

Statuses

The main success signal is the success field in JSON.

Quick Answer

Rely on success and message; HTTP 200 is not always business success if success=false.

Summary

true means an accepted/successful operation per the endpoint contract; false — read message.

Key Takeaways

  • Always parse JSON.
  • The channel is often stated in message text.
  • See errors and responses.

Response fields

Field Meaning
success Business success of the operation
message Human-readable status/error
expires_in Code TTL (after send)
short_url Short link if link was present

Typical texts

  • “OTP sent via WhatsApp”
  • “Number confirmed”
  • “Invalid or expired code”

See responses, errors, send-otp, FAQ.