This document describes the full functionalities and detailed documentation of the SMSPoh HTTP API V3. It is intended for organizations and individuals who need to send or receive SMS messages programmatically.
The last version of SMSPoh HTTP API V3.0 enhanced performance, streamlined endpoints, and improved security features. With simplified authentication and more consistent responses, it aims to provide a smoother, more reliable experience for developers.
The base URL for this service is https://v3.smspoh.com/api/http.
This base URL cannot be used independently;
you must append a specific path that
identifies
the
desired operation, and you may need
to specify certain path parameters.
Please note that the previous SMSPoh API credentials are no longer compatible with API V3.
To create a new API credential, please navigate to the https://v3.smspoh.com/ and Accounts & Security > API Credentials page in the customer dashboard.
QueryParamAuth is an action filter that supports the authentication based on the access token passed through a query parameter.
This API allows you to send message using simple HTTP query.
Name | Type | Description |
---|---|---|
accessToken | String Required | Your API credential. |
to | String Required | Recipient mobile numbers. The mobile number can start with (09, 959 or +959) prefixes. |
message | String Required | The message text to be sent. |
from | String Required | The sender ID (alphanumeric or numeric, depending on your account settings). |
scheduledAt | String | MySQL Date time. Schedule your message to send later at a specific time. |
encrypt | Boolean | To encrypt the message content. We encrypt your message content using the BKDF2 algorithm in the database. |
unicode | Boolean | Send force as the unicode message. |
test | Boolean | Send a test message. |
deliveryReceiptUrl | String | Define custom delivery receipt URL for this transaction. |
clientReference | String | Your reference value for this transaction. |