Guides

Getting Started with the Kolide API

The basic steps to complete your first call to the Kolide API

The Kolide REST API uses token-based authentication. You can retrieve your token from the API Settings Page in Kolide.

You also need to specify the API version using a special HTTP header, X-Kolide-Api-Version
The current API version is 2023-05-26

An example request using curl:

curl -H "Content-Type: application/json" \
     -H "X-Kolide-Api-Version: 2023-05-26" \
     -H "Authorization: Bearer $KOLIDEAPIKEY" \
     "https://api.kolide.com/audit_logs"

# ->

{
  "data": [...],
  "pagination": {
    "next": "https://api.kolide.com/audit_logs?per_page=2&cursor=DOscDOc=",
    "next_cursor": "DOscDOc=",
    "current_cursor": "",
    "count": 2
  }
}