1 | https://rest.tyntec.com/sms/v1/
The REST API (Representational State Transfer Application Programming Interface) enables quick and easy access to tyntec’s messaging platform.
The communication is established via HTTPS (Hypertext Transfer Protocol Secure) connections.
The exchanged object types are either JSON (JavaScript Object Notation) or XML (Extensible Markup Language).
tyntec accepts “application/json” or “application/xml” as “Content-Type” (and “charset=utf-8”) in the HTTP header. tyntec’s application automatically detects the object type of the request and responds accordingly.
i.e., tyntec replies to a request containing a JSON object with a response containing a JSON object; tyntec’s application reacts similarly to XML objects.
The “Accept” parameter can override the default response object type by tyntec’s application, e.g. the request can be a JSON object and tyntec’s response will be a XML object for “Content-Type: application/json; Accept: application/xml”.
All of tyntec’s SMS services are accessible through the base URL (Unique Resource Location) (${baseURL}):
1 | https://${username}:${password}@rest.tyntec.com/sms/v1/
1 | Authorization: Basic ${authentication-token}