Skip to content

Authentication

The Kordon API uses Bearer token authentication to secure all requests. Every API call must include a valid thentication key in the Authorization header.

Personal keys inherit the same permissions and access level as the user who created them.

Use cases:

  • Personal automation scripts
  • Development and testing
  • Individual user workflows

Characteristics:

  • Same role and permissions as the creating user
  • Revoked when user is deactivated

BOT Keys have permissions based on a specific role assignment, independent of the individual user.

Use cases:

  • Production integrations
  • System-to-system communications
  • Shared organizational workflows

Characteristics:

  • Role-based permissions
  • Independent of individual user accounts
  1. Log into your Kordon account
  2. Navigate to SettingsAPI Keys
  3. Click Generate New Key
  4. Select key type and configure permissions
  5. Copy and securely store the key

Include your key in the Authorization header of every request:

Authorization: Bearer YOUR_KEY_HERE
Test API Connection
curl --location GET \
--url "https://YOUR_KORDON_DOMAIN/api/v1/users" \
--header "Authorization: Bearer YOUR_KEY_HERE"
{
"error": {
"code": "unauthorized",
"message": "Invalid or missing authentication key",
"status": 401
}
}

Common causes:

  • Missing Authorization header
  • Invalid API key format
  • Revoked API key
{
"error": {
"code": "forbidden",
"message": "Insufficient permissions for this resource",
"status": 403
}
}

Common causes:

  • Valid API key but insufficient permissions
  • Resource access restrictions
  • Role-based access limitations