GuidesRecipesAPI ReferenceChangelog
Log In
API Reference

Obtain an access token using an API Client

Obtain an access token using the OAuth2 client credentials flow

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data

Client credential token request

string
required

OAuth2 grant type. For Jamf Pro API Clients, use client_credentials

string
required

Client ID from your API Client

password
required

Client secret from your API Client

string

Optional. Provide a space-delimited list of roles that are within the configuration for this API Client. Omitting this field will grant an access token that includes all of this client's allowed roles. Specifying a subset of them will limit the privileges for this access token to that subset of roles. Specifying a role that is not assigned to this client will result in an invalid_scope error. The format matches what is returned from the OAuth token endpoint response's scope field.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json