Send RCS messages with the Fast2SMS API: text, rich card, media and carousel
To send an RCS message with the Fast2SMS API, POST to https://www.fast2sms.com/dev/rcs with your API key, your Bot ID, the mobile number and a type: plain,...
The Fast2SMS API lets your app or website send SMS, WhatsApp, OTP, RCS and voice calls with an API key. Start here: DLT SMS API, Send OTP API, API error codes.
147 articles
To send an RCS message with the Fast2SMS API, POST to https://www.fast2sms.com/dev/rcs with your API key, your Bot ID, the mobile number and a type: plain,...
The Fast2SMS Quick SMS API (route=q) sends your own free text to Indian mobile numbers without DLT registration. The SMS goes from a random sender ID...
You can send SMS and OTP from Python with the Fast2SMS API using the requests library and a few lines of code. This guide covers a...
This guide shows how to send SMS and OTP from PHP with the Fast2SMS API, using only PHP's built-in cURL. You will send a DLT SMS...
This guide shows how to send SMS and OTP from Node.js with the Fast2SMS API. It uses the fetch that is built into Node.js 18 and...
OTP autofill lets the phone read the code from the SMS so the user does not type it. On Android apps this works with Google's SMS...
This guide shows how to send SMS and OTP from Java with the Fast2SMS API using the java.net.http.HttpClient that ships with Java 11 and later. You...
You can send SMS from Google Sheets with the Fast2SMS API and a short Apps Script. Each row in your sheet (name, mobile, order number and...
To verify phone numbers with OTP in a Flutter app using Fast2SMS, the app calls your own backend and the backend calls the Fast2SMS API. The...
Fast2SMS gives you three ways to send an OTP by API: Smart OTP, the DLT SMS API and the DLT Manual API. Smart OTP is the...
When a Fast2SMS API call fails, the reply has "return": false, a status_code such as 412 or 424, and a message that says what went wrong....
"Please wait N seconds before requesting a new OTP" is the Fast2SMS resend wait time at work. You asked for another OTP for the same number...
The Fast2SMS Resend OTP API has two fixed limits: it works only within 10 minutes of the last send, and one OTP can go out at...
The Fast2SMS Verify OTP API returns "OTP not found or already verified" when there is no open OTP for that mobile number. Either the code was...
When the Fast2SMS Verify OTP API rejects a code, it says why: "OTP expired", "Invalid OTP" or "Maximum verification attempts reached. OTP is no longer valid."...
Can't find your answer? Our support team is happy to help.