---
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`

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

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/versions/753f26d46650/schema)
