Use Clickatell’s PHP script library with our REST messaging APIs to interact with the Clickatell SMS Gateway. The PHP script below allows you to send SMS messages using Clickatell’s SMS Platform. Using PHP, you’ll also be able to set up callbacks/webhooks for outgoing and inbound messages via a RESTful interface.
This library allows integration with the new Clickatell website.
Note: Customers with accounts registered on the old central.clickatell.com should use the tagged released or dev branches for version 2 of the repository since version 3 and up is for the new platform and older accounts will not work.
The new APIs only support
sendMessage call and webhooks for outgoing and inbound messages via a RESTful interface.
After configuring your webhooks/callbacks inside the developer portal, you can use the static callback methods to listen for web requests from Clickatell. These callbacks will extract the supported fields from the request body.
Found a bug or missing a feature? Log it here and we will take a look.
Submit a Comment
Ask the Community
Visit Stack Overflow to join our community of developers and find the answer you need
Contact our support team and one of our agents will be in touch with you to answer any questions you have