Send SMS

You can send emails to any contact by making POST HTTP request to /sms/send/ endpoint. its require two arguments while making a request. make sure to insert appropriate headers before making a request.

id_or_email: The ID or email address of contact whom you want to send SMS.
sms_id: The ID of SMS which you want to send to the contact.

You can also perform this operation by setting “id_or_email” to user id of a user and passing by_user_id = true. It will send SMS to the user with a passed user id.

This request sends sms to contact and returns following response from the server.

    "code": "success",
    "message": "SMS sent successfully to contact."
Was this article helpful to you? Yes No

How can we help?