VertexSMS API is based on REST principles. To use REST API, you will need VertexSMS account and API access token. You can generate them inside your VertexSMS account. You must supply a Content-type header: `Content-type: application/json` for all PUT or POST requests.

REST API takes full advantage of all HTTP headers. Every header is important and has it`s own purporse, from status code to content type and request method. Bellow is list of http codes used by VertexSMS API.

Response example

HTTP/1.1 400 Bad Request

Content-Type:application/json

{"message": "Invalid value for field 'from'. Sender ID must either be a valid MSISDN or an alpha-numeric string (max. length: 11 characters), which may consist only of upper+lower-case latin letters, digits, spaces and dots."}

Security

To ensure privacy we recommend you to use HTTPS for all VertexSMS API requests. All callbacks from our servers made only from those ip's: 178.33.133.192/28 and 178.32.167.92