Build business SMS into your application
Install the official FITSMS PHP SDK, initialize your v4 credentials, send messages, check account balance and query delivery status from PHP or Laravel applications.
Choose your development language
Explore FITSMS examples in C#, Go, Java, PHP and Python. Each card opens the matching branch in the official FITSMS GitHub repository.
Getting started
The current FITSMS v4 integration uses the official PHP package. Before you start, create a FITSMS account, obtain your v4 API token and make sure the Sender ID you intend to use is available for your account.
Requirements
- A FITSMS account
- A valid v4 API token
- A Sender ID configured for your account
- PHP / Laravel with Composer
Authentication & client setup
Initialize the SDK with your v4 API token and Sender ID. Keep API tokens on the server side and load them from environment variables in production rather than placing live credentials directly in source code.
API token
Sender ID
Send an SMS
Use send() with the destination mobile number and message text. Store the returned response from successful sends; delivery-status workflows can use the message reference returned by the platform.
Before sending
Check account balance
Use getBalance() before large or automated sends when your application needs to verify available SMS units.
Check delivery status
Use getStatus() with the FITSMS message reference (RUID) and destination number to reconcile a sent message.
Delivery webhooks
FITSMS documentation in this project references delivery-status webhook support. The exact webhook payload and verification fields are not defined in the current website source, so this page does not invent a payload schema. Confirm the active webhook format in your FITSMS account/API resources before implementing production parsing.
Use HTTPS
Respond quickly
Keep references
Integration checklist & troubleshooting
Authentication
Sender ID
Destination
Balance
Message reference
Production safety
Ready to integrate FITSMS?
Explore the SMS API solution, review the official PHP SDK or contact the FITSMS team for integration support.
2026 © Copyrights by FIT SMS. Developed by Global Cloud Media (Pvt) Ltd
