Base URL

https://kan.bn/api/v1

Authentication

Most endpoints require authentication using your API key. You can create one in the settings page of your account. Include this key in the x-api-key header of each request.

'x-api-key': kan_123456789

Response codes

Kan uses standard HTTP codes to indicate the success or failure of your requests.

In general, 2xx HTTP codes correspond to success, 4xx codes are for user-related failures, and 5xx codes are for infrastructure issues.

StatusDescription
200Success
400Invalid parameters
401Missing token
403Invalid token
404Resource not found
500Error with Kan’s infrastructure