fix: set correct urls in docs

This commit is contained in:
Henry
2025-06-01 21:05:09 +01:00
parent 4d4a19ad7b
commit 6279138c04
8 changed files with 14 additions and 209 deletions

View File

@@ -6,15 +6,15 @@ description: "Learn how to integrate with Kan's REST API."
## Base URL
```
https://kanbn.com/api/v1
https://kan.bn/api/v1
```
## Authentication
Most endpoints require authentication using Bearer tokens. You can get this from the `sb-kanbn-auth-token.0` cookie in your browser. Include this token in the Authorization header of each request.
Most endpoints require authentication using your API key. You can create one in the [settings page](https://kan.bn/settings) of your account. Include this key in the `x-api-key` header of each request.
```
Authorization: Bearer 123456789
'x-api-key': kan_123456789
```
## Response codes