Authenticate to the Jamf Pro API and obtain a bearer token for subsequent calls

domain: developer.jamf.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a dedicated API Client in Jamf Pro under Settings > System > API Roles and Clients; assign only the minimum required role privileges
  2. POST client credentials (client_id and client_secret) to https://{your-jamf-instance}/api/oauth/token with Content-Type: application/x-www-form-urlencoded and grant_type=client_credentials
  3. Extract the access_token value from the JSON response; it is valid for the duration specified in expires_in (seconds)
  4. Include the token in subsequent requests as Authorization: Bearer {access_token}
  5. Before expiry, POST to https://{your-jamf-instance}/api/v1/auth/keep-alive with the current valid token to receive a refreshed token without re-authenticating
  6. Invalidate the token after use by POST to https://{your-jamf-instance}/api/v1/auth/invalidate-token

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans