NinjaOne organizations — the top-level container for devices, representing MSP clients: creation and listing, locations, node approval modes, policy mappings and node role IDs, custom fields, tags, cursor pagination, and error codes.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add WYRE-AI/msp-claude-plugins --skill organizations --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Organizations?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/wyre-ai-organizations-e7e6f5c4)More formats (shields.io, HTML) on the badges page.
---
name: "NinjaOne Organizations"
description: >
NinjaOne organizations — the top-level container for devices, representing MSP
clients: creation and listing, locations, node approval modes, policy mappings
and node role IDs, custom fields, tags, cursor pagination, and error codes.
when_to_use: >-
When working with NinjaOne organizations, their locations, or their policy
mappings. Use when: ninjaone organization, ninjarmm org, ninja client, ninja
organization list, create organization ninja, ninja location, or ninja policy
mapping.
---
# NinjaOne Organization Management
## Overview
Organizations in NinjaOne represent your MSP clients. Each organization contains devices, locations, and has policy mappings that determine how devices are monitored and managed.
## Anti-triggers
- **The client record of record** — a NinjaOne organization is a
monitoring container, not the billing or contract entity. Contracts,
billing addresses, and contacts live in the PSA; use
`autotask-crm`, `connectwise-psa-companies`, or `halopsa-clients`.
- **The same client in another RMM** — use `atera-customers`,
`ncentral-organizations`, `datto-rmm-sites`, or `syncro-customers`.
All of them call this container something different (customer, site,
org unit) and none of them share IDs with NinjaOne.
- **The documentation record for a client** — use `hudu-companies`.
- **A single endpoint's detail** — use `ninjaone-devices`; this skill
covers the container and its locations and policy mappings.
## API Endpoints
### List Organizations
```http
GET /api/v2/organizations
Authorization: Bearer {token}
```
Query parameters:
- `pageSize` - Results per page (default: 50)
- `after` - Cursor for pagination
Response:
```json
{
"organizations": [
{
"id": 1,
"name": "Acme Corporation",
"description": "Main client account",
"nodeApprovalMode": "AUTOMATIC",
"tags": ["premium", "24x7"],
"fields": {
"customField1": "value"
}
}
],
"pageInfo": {
"hasNextPage": true,
"endCursor": "abc123"
}
}
```
### Create Organization
```http
POST /api/v2/organizations
Content-Type: application/json
```
```json
{
"name": "New Client Inc",
"description": "Description of the organization",
"nodeApprovalMode": "AUTOMATIC",
"tags": ["standard"],
"fields": {
"primaryContact": "John Smith",
"contractType": "Managed"
},
"locations": [
{
"name": "Headquarters",
"address": "123 Main St",
"description": "Main office location"
}
],
"policies": {
"nodeRoleId": 1,
"policyId": 100
}
}
```
## Node Approval Modes
| Mode | Description |
|------|-------------|
| `AUTOMATIC` | New devices auto-approved |
| `MANUAL` | Devices require manual approval |
| `REJECT` | New devices rejected by default |
## Locations
Locations represent physical sites within an organization.
### Location Fields
| Field | Type | Description |
|-------|------|-------------|
| `id` | integer | Location identifier |
| `name` | string | Location name |
| `address` | string | Physical address |
| `description` | string | Additional details |
## Policy Mappings
Policies define monitoring and management behavior for devices.
### Policy Mapping Structure
```json
{
"policies": [
{
"nodeRoleId": 1,
"policyId": 100
},
{
"nodeRoleId": 2,
"policyId": 101
}
]
}
```
### Node Role IDs
| ID | Role |
|----|------|
| 1 | Windows Workstation |
| 2 | Windows Server |
| 3 | Mac |
| 4 | Linux Workstation |
| 5 | Linux Server |
## Custom Fields
Organizations can have custom fields for tracking business data:
```json
{
"fields": {
"contractStart": "2024-01-01",
"contractEnd": "2024-12-31",
"primaryContact": "Jane Doe",
"billingCode": "ACME-001"
}
}
```
## Tags
Tags help categorize and filter organizations:
```json
{
"tags": ["premium", "healthcare", "24x7-support"]
}
```
Common tag patterns:
- Service tier: `premium`, `standard`, `basic`
- Industry: `healthcare`, `finance`, `education`
- Support level: `24x7`, `business-hours`
- Contract type: `managed`, `break-fix`, `project`
## Common Workflows
### Onboard New Client
1. Create organization with basic info
2. Add locations for each site
3. Configure policy mappings
4. Set custom fields for contract info
5. Deploy agents to devices
### Organization Audit
1. List all organizations
2. Review custom field data
3. Check policy mappings are current
4. Verify location accuracy
### Bulk Tag Update
1. List organizations by filter
2. Update tags programmatically
3. Verify changes applied
## Pagination
NinjaOne uses cursor-based pagination:
```http
GET /api/v2/organizations?pageSize=50
GET /api/v2/organizations?pageSize=50&after=cursor123
```
Continue fetching while `pageInfo.hasNextPage` is true.
## Error Handling
| Code | Description | Resolution |
|------|-------------|------------|
| 400 | Invalid request | Check required fields |
| 409 | Name conflict | Organization name must be unique |
| 403 | Access denied | Check API permissions |
## Related Skills
- [Devices](../devices/SKILL.md) - Device management
- [API Patterns](../api-patterns/SKILL.md) - Authentication and pagination
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!