Single Sends
Sending an SMS message.
We'll mainly discuss the primary integration method for Panacea Mobile SMS Gateway (PM-SMS) called the "Message Send" endpoint. It's the go-to option for sending individual messages.
message_send()
This method is for sending a single transactional message. Examples of this could be sending a verification code to a user via SMS or another similar type of notification.
GET
/
https://api.panaceamobile.com/json?
Please reach out to your Account Manager or Support to confirm your API URL as this may vary depending on your specific account configuration.
Parameters
action
message_send
Set to message_send for this endpoint
username
userx
Your account username
password
passwordy
Your account password
to
27821230000
Destination phone number
from
12345
Sender ID β this can be any value and can be used as an internal reference
text
This is your SMS text
URL Encoded message text content
client_reference
REF12300089
Customer provided reference (Optional)
charset
Defaults to GSM-7 bit (Advanced)
auto_detect_encoding
Default to βyesβ, this ensures that is special characters are used the system will encode the message correctly. This may incur extra costs.
report_mask
Defaults to 19, only used with report_url
report_url
If provided, PM-SMS system will ping back to
this URL with message delivery status.
verbose
1
Set to 1
to get additional details in the API response.
*Please contact your Account Manager or Support to verify if this feature is available for your account configuration.
BOLD PARAMETERS ARE MANDATORY
Example API Call:
Example Output:
For developers looking for practical implementation guidance, please visit our Examples page. Here, you'll find a comprehensive collection of code samples tailored to help you integrate and use our HTTPS API effectively.
Last updated