api_post
Sends a custom POST request to any NinjaOne API endpoint, letting you submit a JSON body to create or update RMM resources not covered by dedicated tools.
Instructions
Make a generic POST request to any NinjaOne API endpoint
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": {
"path": "<path>",
"data": "<data>"
},
"name": "api_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Request body | |
| path | Yes | API endpoint path |