Skip to content

Authentication

Use API Token for authentication.

API Token

Your API keys are expressed as a key+secret combo, and as an API token.

Token

You can send the token as a query argument or form value. This means that if you can send a HTTP request, you can use Token Authentication.

Example

Example of JSON body and API token as a query argument.

POST /v2/mtsms/?token=API-token HTTP/1.1
Host: sms.mavorion.com
Accept: application/json, text/javascript
Content-Type: application/json

{ "message": "Hello World", "recipients": [ { "msisdn": 9800000000 } ] }