Refresh an access token
xmatters_refresh_an_access_tokenRefresh an expired xMatters access token using OAuth2 to restore authenticated API access. Requires explicit confirmation and operator write opt-in.
Instructions
Refresh an access token. POST /api/xm/1/oauth2/token. Uses application/x-www-form-urlencoded as in the official cURL --data example. grant_type, client_id and refresh_token come only from server configuration. See C14. Body fields: none. Reference: https://help.xmatters.com/xmapi/#refresh-an-access-token Requires operator write opt-in and confirm:true; may notify recipients or change tenant data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirm": "<confirm>"
},
"name": "xmatters_refresh_an_access_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Explicit approval of this exact mutation. Operator must also enable XMATTERS_ALLOW_WRITES. |