Request structure
All requests to API are sent in JSON format using the POST method.
Requests must contain header Content-Type: application/json, otherwise, the request will be considered invalid even if it has valid JSON.
Endpoint
Base URL for API requests: https://alphasms.net
Authorization
Each request must contain an auth string with your API key obtained from your personal cabinet as an addition to the main parameters of the method:
Request example
{
"auth": "bb56a4369eb19***cfec6d1776bd25"
}
Request structure
All request parameters are passed as objects inside the data array. The set of request parameters depends on the specified request type (see API method description for more details).
The data array can contain several objects with request parameters, for example:
Request example
{
"auth": "bb56a4369eb19***cfec6d1776bd25",
"data": [
{
MESSAGE 1
},
{
MESSAGE 2
},
{
MESSAGE 3
}
]
}