API Reference

Error Code List

Fast2SMS API will return 200 response code on success & return 400 or 401 when an error occurs. In return you'll get different types of status code listed below:

Response CodeStatus CodeMessage
400401Sender ID Missing
400402Message Text Missing
400403Route Missing
400404Language Missing
400405Numbers Missing
400406Invalid Sender ID
400407Invalid words used in message
400408Invalid Route
400409Invalid Route Authentication
400410Invalid Language
400411Invalid Numbers
401412Invalid Authentication, Check Authorization Key
401413Invalid Authentication, Authorization Key Disabled
400414IP is blacklisted from Dev API section
400415Account Disabled
400416You don't have sufficient wallet balance
400417Use english letters or change language to unicode
400424Invalid Message ID
400425Invalid Template
400426Invalid link used in variables
400500Template/Sender id blacklisted at DLT
400990You're hitting old API. Refer updated documentation
400995Spamming detected (sending multiple SMS to same number is not allowed)
400996Before using OTP SMS API, complete KYC.
400997Only numeric variable_values is allowed in OTP route
400998Use DLT or Quick SMS route for sending Bulk SMS
400999Complete single transaction of minimum 100 INR in Fast2SMS wallet before using API