Explore documentation

Update a Outgoing Webhook integration

Update an existing Outgoing Webhook integration. Send only the parameters you wish to change (eg. name).

PATCH https://uptime.betterstack.com/api/v2/outgoing-webhooks/{outgoing_webhook_id}

URL parameters

outgoing_webhook_id
required string

Headers

Authorization
required string
Content_Type
string

Body parameters

name
string
url
string
on_incident_started
boolean
on_incident_acknowledged
boolean
on_incident_resolved
boolean
custom_webhook_template_attributes
object
custom_webhook_template_attributes.http_method
string
custom_webhook_template_attributes.auth_username
string
custom_webhook_template_attributes.auth_password
string
custom_webhook_template_attributes.headers_template
array
custom_webhook_template_attributes.body_template
string|JSON
200

Response body

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

  ]
}

Example cURL

Example
curl -X "PATCH" "https://uptime.betterstack.com/api/v2/outgoing-webhooks/16" \
     -H "Authorization: Bearer $TOKEN" \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "name": "Test Again"
}'