Top

Wapi documentation

Chat, collaborate, and create teams effortlessly with Wapi

Welcome to WAPI!

Get an AI summary of this page

10. Custom SMS Gateway

The Custom SMS Gateway page allows the admin to configure any third-party SMS provider by entering the required API details and authentication credentials. These settings determine how SMS messages—especially login OTPs—are sent from the system.


Admins Can Configure:

  • - Base URL:The API endpoint of the SMS provider (e.g., Twilio, MSG91, custom API).

  • - HTTP Method:Choose the request type (POST/GET) required by the SMS provider.

  • - Configs (SID, Auth Token, Custom Keys):Set the provider-specific credentials like SID, Auth Token, or any custom fields needed for authentication.

  • - ID / Auth Token / From Number:Credentials used for messaging authorization and the sender’s phone number.

  • - Custom Keys (Dynamic Parameters):Add additional API parameters in key–value format as required by the provider.

  • - Request Body (JSON or Formdata):Customize the structure of the message body that will be sent to the SMS API.

Once configured, these credentials are used whenever a user logs in using the OTP login method. The OTP SMS is automatically sent through the gateway configured on this page, ensuring seamless authentication.