Laraship

⌘K
  1. Home
  2. Docs
  3. Laraship
  4. Communications Module
  5. SMS Module

SMS Module

  • SMS module can be installed using the standard Larship Module instruction settings
  • Currently, the SMS module supports 2 providers Nexmo and Twilio, once you select the provider from sender management you will promote to enter configuration settings for your provider which can be obtained using the following URLs below:

Twilio: https://www.twilio.com/docs/iam/keys/api-key-resource

Nexmo: https://developer.nexmo.com/concepts/guides/authentication

 

Webhooks:  webhooks are useful to get the status of the SMS once sent to the gateway, like confirming it got received by the end-user. also when the user replies to the SMS you can receive a copy of that SMS and log in to the system, there are two types of callbacks here:

  1. SMS status: the URL should be https://your-domain.com/utilities/webhooks/sms_delivery
  2. Receive SMS messages: the URL should be https://your-domain.com/utilities/webhooks/sms_receive

 

to add these webhooks to your SMS provider, you need to add the URLs below to the provider dashboard, below is the documentation on how to set it up:

Twilio: https://www.twilio.com/docs/usage/webhooks

Nexmo: https://developer.nexmo.com/concepts/guides/webhooks