Interface information

Send a message with "Hello World!"  

curl -u username:password -X POST -H "Content-Type: application/json" –d ‘{"from":"MyCompany",
"to":"+491622943176", "message":"Hello World!"}’ https://rest.tyntec.com/messaging/im/v1/outbound/requests

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 JSON (JavaScript Object Notation). tyntec accepts "application/json" as "Content-Type" (and "charset=utf-8") in the HTTP header.

The Mobile Chat API service is accessible through the base URL (Unique Resource Location) (${baseURL}):

https://rest.tyntec.com/messaging/im/v1/

tyntec will provide a username (${username}) and password (${password}) to grant access to the services:

https://${username}:${password}@rest.tyntec.com/messaging/im/v1/

The Base64-encoded combination "${username}:${password}" is used as an authentication-token for the Basic HTTP authentication and can also be given in the HTTP header:

Authorization: Basic ${authentication-token}