Address Format
API Recipient addresses uses a format that includes send method and optional settings.
The format is modelled as an URI scheme.
Simple
protocol : address
Eg,
sms:+46701234567
email:john.smith@company.com
https://yourdomain.se/reports
Advanced (With optional settings)
protocol :JSON formated object/dictonary as {"option1": "value1", "option2": "value2", ....}:address
Eg,
sms:{"sms_originator_text": "Mary Jones"}:+46701234567
email:{"email_from_name": "Mary Jones", "headers": { "Reply-To": "mary.jones@company.com"}}:john.smith@company.com
https:{"content_type": "application/xml"}://yourdomain.se/reports/
https:{"content_type": "application/xml", "headers":{ "Authorization": "Basic HXY4..."}}://yourdomain.se/reports/
https:{"content_type": "application/x-www-form-urlencoded", "headers":{ "Authorization": "Basic HXY4..."}}://yourdomain.se/reports/
Remember to escape quotation marks in your JSON request!
"report_to": ["https:{\"content_type\": \"application/json\"}://yourdomain.se/reports/"]
Some of many Supported Settings