API & Developer
How to integrate Yoola SMS API with PHP?
I am building a school management system and want to send fee reminders via SMS. Can I get a working PHP example with the API?
Tech Uganda Ltd
18 Jun 2026
11 views
Best Answer
Y
Yoola SMS Team Team
19 Jun 2026
Here is a working PHP example. Set $url to https://yoolasms.com/api/v1/send.php then build $data as an array with phone, message, and api_key keys, encode it as JSON and POST it via cURL with Content-Type application/json. Get your API key from your dashboard under My API Key. The endpoint supports bulk sending too — comma-separate multiple numbers in the phone field.