Get outgoing webhook

Returns a single Outgoing Webhook integration by ID.

GET https://incidents.betterstack.com/api/v2/outgoing-webhooks/{outgoing_webhook_id}

URL parameters

outgoing_webhook_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": {
    "id": "16",
    "type": "outgoing_webhook",
    "attributes": {
      "name": "test",
      "url": "https://example.com",
      "trigger_type": "on_call_change",
      "metadata_api_version": "v3",
      "team_name": "My team"
    },
    "relationships": {
      "custom_webhook_template": {
        "data": null
      }
    }
  },
  "included": []
}

Response attributes

id
string
type
string
attributes.name
string or null
attributes.url
string
attributes.trigger_type
string
attributes.metadata_api_version
string
attributes.notify_alongside_primary_responder
boolean
attributes.team_name
string
attributes.on_incident_started
boolean
attributes.on_incident_acknowledged
boolean
attributes.on_incident_resolved
boolean
attributes.on_incident_reopened
boolean
attributes.on_incident_comment
boolean
relationships.custom_webhook_template.data
object or null
relationships.custom_webhook_template.data.id
string
relationships.custom_webhook_template.data.type
string
included
array
included[].id
string
included[].type
string
included[].attributes.http_method
string
included[].attributes.headers_template
array or null
included[].attributes.body_template
string or null
included[].attributes.auth_username
string or null
included[].attributes.auth_password
string or null

Example cURL

Example
curl --request GET \
  --url https://incidents.betterstack.com/api/v2/outgoing-webhooks/16 \
  --header "Authorization: Bearer $TOKEN"