API reference
Users
The users of your company, for example to assign a deal to someone.
Endpoints
List users
GET
/api/v1/users
The users of your company, ordered by id. Use the id as assigned_user_id on a deal.
- Scope
-
users.read— Read the company's users
Query parameters
| Name | Type | Description |
|---|---|---|
limit |
integer | Number of results per page. from 1 to 100 · default: 50 |
cursor |
string | The next_cursor or prev_cursor from meta of the previous response. |
filter[status] |
string | Only active or only deactivated users. one of: active, inactive |
Example request
curl "https://app.klantly.com/api/v1/users" \
-H "Authorization: Bearer $KLANTLY_API_KEY"$client = new \GuzzleHttp\Client([
'base_uri' => 'https://app.klantly.com/api/v1/',
'headers' => ['Authorization' => 'Bearer ' . getenv('KLANTLY_API_KEY')],
]);
$response = $client->request('GET', 'users');
$data = json_decode((string) $response->getBody(), true)['data'];const response = await fetch('https://app.klantly.com/api/v1/users', {
headers: {
Authorization: `Bearer ${process.env.KLANTLY_API_KEY}`,
},
});
const { data } = await response.json();import os
import requests
response = requests.get(
"https://app.klantly.com/api/v1/users",
headers={
"Authorization": f"Bearer {os.environ['KLANTLY_API_KEY']}",
},
)
data = response.json()["data"]Response 200
The response is a list with cursor pagination: data contains the objects, meta the pagination.
{
"data": [
{
"object": "user",
"id": "7",
"name": "Sanne Bakker",
"email": "sanne@devriesbouw.nl",
"role": "Verkoop",
"is_owner": false,
"status": "active",
"created_at": "2026-09-14T10:15:00Z"
}
],
"meta": {
"limit": 50,
"next_cursor": "eyJpZCI6IjlkM2Y2YzFlIn0",
"prev_cursor": null
}
}Possible errors
-
403
insufficient_scope— This API key has no access to this action. -
422
validation_failed— The input is invalid.
The object
All fields are always present; a field without a value is null.
| Field | Type | Description |
|---|---|---|
object |
string | Always "user". |
id |
string | Id of the user. |
name |
string | Name. |
email |
string (email) | Email address. |
role |
string | Name of the role in your company, or null without a role. can be empty (null) |
is_owner |
boolean | The owner of the account. |
status |
string | active or inactive (deactivated). one of: active, inactive |
created_at |
string (date-time) | Created at (UTC). |