Obtaining the Management ID

Technical Articles

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US

You can access the management ID for computers in either the Jamf Pro interface or the Jamf Pro API.

In the Jamf Pro interface, the management ID is displayed next to the Jamf Pro Management ID attribute of the General category when viewing a computer's inventory information. For more information, see Computer Inventory Information in the Jamf Pro Documentation.

To access the management ID in the Jamf Pro API, execute a command in Terminal similar to the following:
curl \
--header 'Authorization: Bearer YOUR_BEARER_TOKEN' \
--location \
--request GET \
--url 'https://YOUR_JAMF_PRO_URL/api/v1/computers/inventory/COMPUTERID'

The response contains information about the computers, including the management IDs. The example response below highlights where you can find the management ID:

Example API response highlighting management ID
The default response contains information for 100 computers. If you have more than 100 computers in your environment, you can add the following to the endpoint URL to expand the response:

?page=#

Retrieves a specified page in the response

?page-size=###

Increases the number of computers contained in each page of the response. The maximum number is 2000.
To expand the response, execute a command in Terminal similar to the following example:
curl \
--header 'Authorization: Bearer YOUR_BEARER_TOKEN' \
--location \
--request GET \
--url 'https://YOUR_JAMF_PRO_URL/api/v1/computers/inventory?page=2&page-size=2000'

This response will return the second page of computers. Each page lists 2,000 computers.