Execute custom action
documentedExecute a named action on the alert.
POST /v2/alerts/{identifier}/actions/{action}Alertsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl 'https://api.opsgenie.com/v2/alerts/{{$identifier}}/actions/{{$action}}?identifierType={{$identifierType}}' \
-X POST \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: GenieKey {{OPSGENIE_API_KEY}}' \
-d '{"user": "{{$user}}", "source": "{{$source}}", "note": "{{$note}}"}'