0

How to send alert to multiple users.

Hi, How can i send this sample alert to multiple users? The parameter "targetName": "user1,user2,user3" is not working.



curl -1 -H "Content-Type: application/json" --user username:password -X POST -d '
{
  "properties": {
    "Subject Text": "",
    "Message Text": "Test"
  },
  "recipients": [
    {
      "targetName": "user1,user2,user3"
    }
  ]
}
' "https://instance.xmatters.com/reapi/2015-04-01/forms/2d47cdac-19ac-4964-92f8-4cf9437630a4/triggers"

2 comments

Please sign in to leave a comment.