This may be a simple answer but every time I try to make a API alert call i get the following error(below). Im pretty sure the JSON syntax is correct as I run it on JSONLint.com and see no errors
API
POST https://api.opsgenie.com/v2/alerts -H "Content-Type: application/json" -H "Authorization: GenieKey xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx" -d { "message": "A urgent event has occurred. Please acknowledge that this notice has been recognized", "alias": "urgent", "priority": "P2" }
Error message
{"message":"Invalid JSON","took":0.002,"requestId":"xxxxxxx-xxxxx-xxxxxx-xx-xxxxxxxxx"}