Add subscribers
xmatters_add_subscribersAdd subscribers to an xMatters subscription by providing a recipient list in the request body. Preserve existing entries to avoid unintentional replacement.
Instructions
Add subscribers. PUT /api/xm/1/subscriptions/{subscriptionId}/subscribers. The request supports a top-level JSON array; listed body fields describe array entries, not mandatory root object keys. PUT is preserved from DEFINITION even where a Python sample incorrectly calls requests.post. Preserve any existing entries that should not be replaced; consult the official operation. Body fields: recipients. Reference: https://help.xmatters.com/xmapi/#add-subscribers 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/#add-subscribers | |
| 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. |