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 a new account

AI-generated

Summary

Create a new billing account in the NinjaOne system by specifying a unique code and display name, with optional description and advanced request customization.

Inputs

  • code (required) — Unique code used to identify the account.
  • name (required) — Display name of the account.
  • description — Optional description of the account.
  • customBody — Optional arbitrary JSON to merge into the request body, overriding other fields.
  • customHeaders — Optional custom HTTP headers to include in the API request.
  • queryFilters — Optional query-string filters for the API request.
  • batching — Optional batching settings to group input items and space requests to avoid rate limiting.
  • debug — Optional flag to include detailed request info in the output for troubleshooting.
  • pagination — Optional pagination configuration (not typically applicable for single create operations).
  • timeout — Optional request timeout in milliseconds (default 300000).

Output shape

a single record

Returns the created account's details as an object. If debug is enabled, includes a debug property with the actual HTTP request and response details.

Examples

Example 1: Create account with required fields

Set 'code' and 'name' to identify the account.

Links

Discussion