Create a group
xmatters_create_a_groupCreate a new xMatters group with configurable attributes such as observers, supervisors, and recipient criteria via the API. Requires write permission and explicit confirmation.
Instructions
Create a group. POST /api/xm/1/groups. Body fields: allowDuplicates, description, externalKey, externallyOwned, groupType, observedByAll, observers, properties, recipientType, id, site, status, supervisors, targetName, useDefaultDevices, criteria. Reference: https://help.xmatters.com/xmapi/#create-a-group 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/#create-a-group | |
| 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. |