NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

Billing → Creates an agreement.

AI-generated

Summary

Create a new billing agreement in NinjaOne by sending a POST request to the /v2/billing/agreements endpoint.

Inputs

  • Options — Optional parameters including a custom JSON body to override or add fields, custom HTTP headers to include in the request, query-string filters, batching settings to control request grouping and intervals, debug mode to include request details in the output, pagination settings (mostly irrelevant here as this is a create operation), and a request timeout in milliseconds.

Output shape

a single JSON object representing the newly created billing agreement as returned by the NinjaOne API.

The output includes the full response data from the API. When debug is enabled, additional debug information about the request URL, headers, query parameters, and body is included in the output. Pagination settings are configured but generally not applicable for this create operation.

Links

Discussion