---
title: "Location custom fields"
method: GET
path: "/v2/organization/{id}/location/{locationId}/custom-fields"
tags: ["Location"]
---

# Location custom fields

`GET /v2/organization/{id}/location/{locationId}/custom-fields`

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

Returns list of location custom fields

## Path parameters

- `id` integer, required
- `locationId` integer, required

## Query parameters

- `withInheritance` boolean

## Response `default`

default response

- object

## Changes

- **2024-03-04** `8811c70de9a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/changes/v2/organization/:id/location/:locationId/custom-fields/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)
