How to send SMS using the API when the CRM user will open a new case.

The SMS gateway has it's own API and I know how to integrate with it. I tried to edit in the code but it's very big what's usually we should do in these cases.

If I will edit in the code which editor should I use and how??

  • It's not clear from your question what you need. You don't need any custom code to use the CiviSMS gateway - just CiviRules. However, it sounds like you may need to write a new SMS gateway. If so, please edit your question to make that clear. Thanks! Commented Aug 15, 2017 at 2:37
  • SMS Gateway is a hardware device contains SIM Cards, it's not something that you can write. It's hardware device has a firmware and a custom API to empower the third party applications to Send SMS.
    – Rami Ebeid
    Commented Aug 15, 2017 at 19:38

1 Answer 1


You'll need to write an extension that implements a CRM_SMS_Provider interface. The Twilio extension is a good example of this.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.