Sign in

Add tags to alert

documented

Attach tags to an alert.

POST /v2/alerts/{identifier}/tagsAlertsno implementation yet0 runs
No 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}}/tags?identifierType={{$identifierType}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: GenieKey {{OPSGENIE_API_KEY}}" \
  -d '{"tags": ["{{$tag1}}","{{$tag2}}"], "user": "{{$user}}", "source": "{{$source}}", "note": "{{$note}}"}'