Klantly Developers

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

NameTypeDescription
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
curl "https://app.klantly.com/api/v1/users" \
  -H "Authorization: Bearer $KLANTLY_API_KEY"
PHP
$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'];
JavaScript
const response = await fetch('https://app.klantly.com/api/v1/users', {
  headers: {
    Authorization: `Bearer ${process.env.KLANTLY_API_KEY}`,
  },
});

const { data } = await response.json();
Python
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.

Example response
{
  "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

In addition, every endpoint can return the general errors, such as an invalid key or a reached limit. See all error codes.

The object

All fields are always present; a field without a value is null.

FieldTypeDescription
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).