Noob API Question - Connecting Universal API to JAMF Instance

menashehertz
New Contributor II

Hi,

I am able to connect the class API to my instance by using url https://INSTANCEURL/api but not the universal by using https://INSTANCEURL/uapi. Not sure why?

Thanks

Steven

5 REPLIES 5

SamF
Contributor II
Contributor II

The Classic API docs are available from /api while the basepath for interacting with it is /JSSResource. The Jamf Pro API (formerly the UAPI) has docs available from /uapi/doc and has a basepath of /uapi.

menashehertz
New Contributor II

Sam, Thanks for getting back to me.

I understand what you are saying that the URLs are different.
What I am asking about is that the classic API can be accessed in a way that it would access my instance of JAMF simply by appending /api to my JAMF instance URL.

My question is can the universal API also be accessed in a way that it will access my instance of Jamf and not the try out instance.

Steven

Sichas
Contributor

If you're going to https://yourproductionjamfpro.com/uapi/doc, that actually is accessing your instance of Jamf Pro and not the Jamf Developer try-it-out instance. The try-it-out instance only applies if you're going to developer.jamf.com

Maybe the confusion is the "model/model schema" area under each endpoint? That's just sample data, if you click on the "Try it out" button for each endpoint that'll use your actual Jamf Pro data.

menashehertz
New Contributor II

Mathew,

Thanks for your help. It worked.

Steven

Sonic84
Contributor III

Hopefully jamf will add this to the classic API so XML can be used.