---
title: "Get Software License Assignments"
method: GET
path: "/v2/software-license/{licenseId}/assignments"
tags: ["Software Licenses"]
---

# Get Software License Assignments

`GET /v2/software-license/{licenseId}/assignments`

## 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/software-license/{licenseId}/assignments`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sessionKey`
- TypeScript: <https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/docs/v2/software-license/:licenseId/assignments/get.ts> (a function with typed inputs; its response is checked against the schema)

Get Software License Assignments

## Path parameters

- `licenseId` integer, required: Id of the Software License to get assignments for

## Query parameters

- `after` string: Cursor for forward pagination. Use nextCursor from previous response.
- `before` string: Cursor for backward pagination. Use previousCursor from previous response.
- `pageSize` integer: Number of results per page. Defaults to 100, minimum 1, maximum 500.

## Response `200`

Returns Software License Assignments

- object: List of license assignments
  - `licenseeId` integer: Indicates the identifier of the licensee
  - `licenseeName` string: Indicates the name of the licensee
  - `licenseeOrganizationName` string: Indicates the organization name of the licensee
  - `licenseeOrganizationId` integer: Indicates the organization identifier of the licensee
  - `licenseeEmail` string: Indicates the email of the licensee
  - `lastUsedAt` integer: The last usage timestamp in unix epoch seconds
  - `hasViewAccess` boolean: Indicates if the requester has access to view the licensee details

## Changes

- **2026-07-26** `753f26d46650`: 2 info
  - added the optional property `hasViewAccess` to the response with the `200` status
  - added the optional property `lastUsedAt` to the response with the `200` status
- **2026-07-12** `dec5d4ed264e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/changes/v2/software-license/:licenseId/assignments/get.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)
