Send a message - template
Returns a blank template that specifies which fields may be submitted to create a new message. Substitutions variables—which are prefixed with a dollar sign—are included in the template for your convenience. You should replace the substitution variables with your own values. For fields that you want to leave undefined, you can leave the substitution variables as is or substitute the variables with "null". For some fields, a sensible default will be used if the value is undefined.
The modified template can then be submitted using the create message call to create the new message.
JSON Request URL: GET https://www.teamworklive.com/api/messages/new.json
curl -s -u <email>:<api-key> https://www.teamworklive.com/api/messages/new.json
The JSON response output will be shown here. You can see an example of the actual response output if you are signed in.
XML Request URL: GET https://www.teamworklive.com/api/messages/new.xml
curl -s -u <email>:<api-key> https://www.teamworklive.com/api/messages/new.xml
The XML response output will be shown here. You can see an example of the actual response output if you are signed in.