Trigger an event
xmatters_trigger_an_eventTrigger an xMatters event by posting a JSON payload to an integration function, initiating notifications or workflows. Use to escalate incidents or alert recipients when issues occur.
Instructions
Trigger an event. POST /api/integration/1/functions/{id}/triggers. Posts JSON to the configured integration function. The documented apiKey query authentication is not exposed as a model argument; use server-configured authentication. Tenant-defined custom trigger payloads remain open JSON. Body fields: attachments, bypassPhoneIntro, conference, escalationOverride, expirationInMinutes, otherResponseCountThreshold, overrideDeviceRestrictions, priority, properties, recipients, requirePhonePassword, responseOptions, senderOverrides, targetAllDevices, targetDeviceNames, voicemailOptions. Reference: https://help.xmatters.com/xmapi/#trigger-an-event Requires operator write opt-in and confirm:true; may notify recipients or change tenant data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Complete API JSON payload (including nested fields). See https://help.xmatters.com/xmapi/#trigger-an-event | |
| path | Yes | ||
| query | No | API query parameters; arrays are comma-joined. Documented names: none. Pagination is explicit using offset and limit; results are not automatically combined. | |
| confirm | Yes | Explicit approval of this exact mutation. Operator must also enable XMATTERS_ALLOW_WRITES. |