SMS Server

SMS server is a microservice to send SMS over connected providers

The API

SMS server implements the following RPC Methods

SMS

  • Push

SMS.About

curl -X GET 'http://xmp.vostok.linkit360.com:9010/api/v1/sms/'
{
  "message": "XMP 3.0 SMS API v1.0"
}

SMS.Push

curl -X POST \
  -H "X-Parse-Application-Id: ${APPLICATION_ID}" \
  -H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
  -H "X-Parse-Provider-Auth-Key: ${PROVIDER_AUTH_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"to":123456789, "text":"Hello World"}' \
curl -X POST 'http://xmp.vostok.linkit360.com:9010/api/v1/sms/push'
{
  "status": "200"
}

Raw headers

POST /api/v1/sms/push HTTP/1.1
Host: xmp.vostok.linkit360.com:9010
Content-Type: application/json
X-Parse-Application-Id: XXXXXXXXXXXXXXXXXX
X-Parse-REST-API-Key: XXXXXXXXXXXXXXXXXX
X-Parse-Provider-Auth-Key: XXXXXXXXXXXXXXXXXX
Cache-Control: no-cache

Body

{"to":123456, "text":"Hello World"}

Reply status codes

http://sms.ru/?panel=api&subpanel=method&show=sms/send