Table of Contents Gateway
Webhook
Description
|
WebHook for receiving messages. |
URL
|
https://decontrolpanel.smsit.ai/custom_gateways/sms/ |
Example call: Create a script with the following content and provide its URL as WebHook. |
PHP Code Sample (cURL): |
Parameters
|
|
apikey
|
(Required) The API key of your account. |
number |
(Required) The number of the contact. NO spaces, dashes, or parentheses in phone numbers.
Include country code in the number with a "+" sign |
name
|
(Optional) The name of the contact. |
PHP Integration
Description
|
Include following code in your PHP file to start sending messages. |
PHP Code Sample (cURL): |
PHP - Send Single Message
Description
|
Send Single Message using PHP. |
Send Single Message using PHP PHP Code Sample (cURL): |
PHP Code Sample (cURL):
PHP Code Sample (cURL):
PHP Code Sample (cURL):
PHP Code Sample (cURL):
PHP Code Sample (cURL):
C# Integration
Description
|
Just create a file named Gateway.cs in your project and paste the following code into it. You also need to add Newtonsoft. Json NuGet package to your project. |
PHP Code Sample (cURL): |
Send Single Message PHP Code Sample (cURL): |
Send Bulk Messages PHP Code Sample (cURL): |
Get remaining message credits PHP Code Sample (cURL): |
Get messages and their current status PHP Code Sample (cURL): |
Resend messages PHP Code Sample (cURL): |
Manage Contacts PHP Code Sample (cURL): |