oncall-engine/docs/sources/oncall-api-reference/outgoing_webhooks.md
Jack Baldry 87d0a50e03
Ensure canonical URLs match the new page locations
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-26 12:32:47 -04:00

780 B

aliases canonical title weight
/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/
https://grafana.com/docs/oncall/latest/oncall-api-reference/outgoing_webhooks/ Outgoing webhooks HTTP API 700

Outgoing webhooks (actions)

Used in escalation policies with type trigger_action.

List actions

curl "{{API_URL}}/api/v1/actions/" \
  --request GET \
  --header "Authorization: meowmeowmeow" \
  --header "Content-Type: application/json"

The above command returns JSON structured in the following way:

{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": "KGEFG74LU1D8L",
      "name": "Publish alert group notification to JIRA"
    }
  ]
}

HTTP request

GET {{API_URL}}/api/v1/actions/