create_http_integration
Create a custom HTTP webhook integration to send LogicMonitor alert lifecycle notifications to any endpoint, with support for custom headers, payloads, and OAuth.
Instructions
Create a Custom HTTP Delivery integration (type=http). Required fields: name, url. Use extra_fields for OAuth, actionNotes*, updateData*, or the 'extra' UI metadata blob. (requires write permission)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Webhook URL for the active alert lifecycle | |
| name | Yes | Integration display name | |
| ack_url | No | Override URL for ack | |
| headers | No | Headers for active alerts. Accepts a plain {name: value} dict or a list of {HeaderName: value} single-key dicts (LM's native form). | |
| ack_body | No | Override payload for ack | |
| password | No | Basic-auth password | |
| username | No | Basic-auth username | |
| clear_url | No | Override URL for clear | |
| ack_method | No | Override HTTP verb for ack | |
| alert_body | No | Payload template. Supports LM ##TOKEN## substitutions such as ##ALERTID##, ##LEVEL##, ##HOST##. | |
| clear_body | No | ||
| update_url | No | Override URL for update | |
| ack_headers | No | Override headers for ack (same shape as headers). | |
| description | No | Optional description | |
| http_method | No | HTTP verb for active alert posts | post |
| update_body | No | ||
| clear_method | No | ||
| extra_fields | No | Raw LM integration fields merged last. Use for OAuth credentials (oAuthClientId, etc.), updateData*, actionNotes*, and the 'extra' UI metadata string. | |
| clear_headers | No | ||
| update_method | No | ||
| update_headers | No | ||
| alert_data_type | No | LM alert data type, typically 'raw' or 'formatted'. | |
| alert_body_format | No | Payload format (json or form). | json |
| enabled_lifecycles | No | Subset of ['active', 'ack', 'clear', 'update', 'actionNotes', 'updateData']. Defaults to the four core lifecycles. |