---
title: "Generate installer"
method: POST
path: "/v2/organization/generate-installer"
tags: ["management"]
---

# Generate installer

`POST /v2/organization/generate-installer`

## Request

- Base URL: `https://app.ninjarmm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ninjarmm.com/v2/organization/generate-installer`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sessionKey`
- TypeScript: <https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/docs/v2/organization/generate-installer/post.ts> (a function with typed inputs; its response is checked against the schema)

Generates and returns URL for installer with specified settings

## Request body

- object
  - `organizationId` integer: Organization identifier
  - `locationId` integer: Location identifier
  - `installerType` 'WINDOWS_MSI' | 'WINDOWS_ARM64_MSI' | 'MAC_DMG' | 'MAC_PKG' | 'LINUX_DEB' | 'LINUX_RPM' | 'LINUX_ARM64_DEB' | 'LINUX_ARMV7A_DEB' | 'LINUX_ARM64_RPM' | 'LINUX_ARMV7A_RPM': Agent installer type
  - `usageLimit` integer: Usage limit
  - `content` object: content
    - `nodeRoleId` string: Identifier for the nodeRole target of this installer. Acceptable values include integers, 'auto', or an empty string. If the value is omitted, or an empty string, it defaults to 'auto'.

## Response `default`

default response

- object
  - `url` string: URL

## Changes

- **2026-04-14** `e3ae1d639362`: 1 info
  - added the new `WINDOWS_ARM64_MSI` enum value to the request property `installerType`
- **2025-12-12** `7c00bdd989ee`: 4 info
  - added the new `LINUX_ARM64_DEB` enum value to the request property `installerType`
  - added the new `LINUX_ARM64_RPM` enum value to the request property `installerType`
  - added the new `LINUX_ARMV7A_DEB` enum value to the request property `installerType`
  - added the new `LINUX_ARMV7A_RPM` enum value to the request property `installerType`
- **2025-01-07** `c17cc5d9bb23`: 1 info
  - added the new optional request property `content/nodeRoleId`
- **2024-03-04** `8811c70de9a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/changes/v2/organization/generate-installer/post.md)

---

[API](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0.md) - [All operations](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/revisions/5ce571d1bb71?raw)
