sh-3.2# curl --location --request POST 'https://api.opsgenie.com/v2/alerts' \--header 'Authorization: GenieKey 749797a2-8748-484b-8fc5-f48f006bc3f0' \--header 'Content-Type: application/json' \--data-raw ''\''{"message": "Test alert", "description": "This is just a test" }'\'''
{"code":40301,"message":"To perform this action, use an API key from an API integration.","took":0.001,"requestId":"66f7bfee-7f3c-4c65-8bb2-0e95c0c16bd0"}