Skip to content

Kanbert (v1)

Download OpenAPI description
Languages
Servers
https://api.kanbert.int/api/v1/

Schemas

Schemas

Clients

Operations

CustomFields

Operations

Efforts

Operations

File

Operations

Projects

Operations

Tasks

Operations

Usergroups

Operations

Users

Operations

Filter all employees

https://developers.kanbert.com/_bundle/openapi.json#/paths/~1users/get

Request

Security
http
Query
sortstring

Available sorts are first_name, last_name, email, created_at, custom_field.<alias>.
You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -title.

Example: sort=sort=-created_at,title
includestring

Available includes are userGroups. You can include multiple options by separating them with a comma.

page[size]integer

The number of results that will be returned per page.

Default 30
page[cursor]string

The cursor to start the pagination from.

filterstring

Allowed filter fields (with allowed operators):

FieldTypeOperators
archivedenum: with, only, withouteq
first_namestringin, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull
last_namestringin, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull
emailstringin, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull
planenum<UserPlan>eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull
typeenum<UserType>eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull
is_ownerbooleaneq, ne, neq, isnull, isnotnull, notnull
created_atdatetimeeq, ne, neq, lt, lte, le, gt, gte, ge, in, nin, notin, isnull, isnotnull, notnull
custom_field.* — see Custom fields belowcustomeq, ne, neq, lt, lte, le, gt, gte, ge, in, nin, notin, contains, like, startswith, endswith, isnull, isnotnull, notnull

Filtering expression. Accepts either JSON (array/tree of conditions) or a readable string DSL.

You can check the full syntax at Docs Filtering section.

Special values:

  • me.id — current authenticated user id (usable on fields of type id). Example: id eq me.id
  • now — current date-time. Example: dueOn lt now
  • sow/eow — start/end of week. Examples: dueOn gt sow, dueOn lt eow
  • som/eom — start/end of month. Examples: dueOn gt som, dueOn lt eom
  • today — special date for today; with eq it expands to the whole day range. Example: dueOn eq today
  • today±Nd — relative day offset. Examples: today-30d, today+5d.

Custom fields: when enabled, you can filter by custom_field.<slug>. Example: custom_field.my_flag eq 'yes' or custom_field.score gte 10. Supported ops depend on the custom field type (eq, ne, in, nin, contains, startswith, endswith, isnull, isnotnull, and comparisons for numeric/date types).

Example: filter=title contains "Acme" and (created_at >= "2024-01-01" or client.name contains "Corp")
curl -i -X GET \
  'https://api.kanbert.int/api/v1/users?sort=sort%3D-created_at%2Ctitle&include=string&page%5Bsize%5D=30&page%5Bcursor%5D=string&filter=title+contains+%22Acme%22+and+%28created_at+%3E%3D+%222024-01-01%22+or+client.name+contains+%22Corp%22%29' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The cursor paginated collection of UserData

Bodyapplication/json
dataArray of objects(UserData)required

The list of items

data[].​idstringrequired
data[].​external_idstring or nullrequired

Can be used to add an identifier to the client from an external system, must be unique

data[].​first_namestringrequired
data[].​last_namestringrequired
data[].​titlestring or nullrequired
data[].​title_suffixstring or nullrequired
data[].​emailstring(email)required
data[].​birthdaystring or null(date)required
data[].​genderstring or nullrequired
data[].​positionstring or nullrequired
data[].​special_rolesstring or nullrequired
data[].​skillsstring or nullrequired
data[].​profilestring or nullrequired
data[].​languagestring or nullrequired

UI language

data[].​languagesstring or nullrequired

Spoken languages

data[].​telephone_officestring or nullrequired

Mobile phone (Office)

data[].​phone_extensionstring or nullrequired

Landline phone (Office)

data[].​telephonestring or nullrequired

Mobile phone (Private)

data[].​entry_datestring or null(date)required

Date of joining the company

data[].​leave_datestring or null(date)required

Date of leaving the company - if set in the future, the employee will be archived on that date

data[].​typestring(UserType)required
Enum"user""guest""tax_advisor"
data[].​planstring(UserPlan)required
Enum"basic""standard""external""advanced""expert""guest""tax_advisor""not_assigned"
data[].​is_ownerbooleanrequired

Is Kanbert space owner

data[].​avatarFileData (object) or nullrequired
Any of:
object FileData Recursive
data[].​userGroupsArray of objects(UsergroupData)
data[].​userGroupsCountinteger
data[].​userGroupsExistsboolean
data[].​customFieldsobjectrequired

The key is the field name for your custom field, value type depends on the field type

data[].​customFields.​property name*string or boolean or integer or nulladditional property
Any of:
string
data[].​created_atstring(date-time)required
data[].​deleted_atstring or null(date-time)required
linksArray of stringsrequired
metaobjectrequired
meta.​pathstring or nullrequired

Base path for paginator generated URLs.

meta.​per_pageintegerrequired

Number of items shown per page.

meta.​next_cursorstring or nullrequired
meta.​next_cursor_urlstring or nullrequired
meta.​prev_cursorstring or nullrequired
meta.​prev_cursor_urlstring or nullrequired
Response
application/json
{ "data": [ {} ], "links": [ "string" ], "meta": { "path": "string", "per_page": 0, "next_cursor": "string", "next_cursor_url": "string", "prev_cursor": "string", "prev_cursor_url": "string" } }

Show single user object

https://developers.kanbert.com/_bundle/openapi.json#/paths/~1users~1{id}/get

Request

Security
http
Path
idstringrequired
Query
findBystring

The field to search by

Default "id"
Enum"id""external_id"
includestring

Available includes are userGroups. You can include multiple options by separating them with a comma.

curl -i -X GET \
  'https://api.kanbert.int/api/v1/users/{id}?findBy=id&include=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

UserData

Bodyapplication/json
idstringrequired
external_idstring or nullrequired

Can be used to add an identifier to the client from an external system, must be unique

first_namestringrequired
last_namestringrequired
titlestring or nullrequired
title_suffixstring or nullrequired
emailstring(email)required
birthdaystring or null(date)required
genderstring or nullrequired
positionstring or nullrequired
special_rolesstring or nullrequired
skillsstring or nullrequired
profilestring or nullrequired
languagestring or nullrequired

UI language

languagesstring or nullrequired

Spoken languages

telephone_officestring or nullrequired

Mobile phone (Office)

phone_extensionstring or nullrequired

Landline phone (Office)

telephonestring or nullrequired

Mobile phone (Private)

entry_datestring or null(date)required

Date of joining the company

leave_datestring or null(date)required

Date of leaving the company - if set in the future, the employee will be archived on that date

typestring(UserType)required
Enum"user""guest""tax_advisor"
planstring(UserPlan)required
Enum"basic""standard""external""advanced""expert""guest""tax_advisor""not_assigned"
is_ownerbooleanrequired

Is Kanbert space owner

avatarFileData (object) or nullrequired
Any of:
object FileData Recursive
userGroupsArray of objects(UsergroupData)
userGroupsCountinteger
userGroupsExistsboolean
customFieldsobjectrequired

The key is the field name for your custom field, value type depends on the field type

customFields.​property name*string or boolean or integer or nulladditional property
Any of:
string
created_atstring(date-time)required
deleted_atstring or null(date-time)required
Response
application/json
{ "id": "string", "external_id": "string", "first_name": "string", "last_name": "string", "title": "string", "title_suffix": "string", "email": "user@example.com", "birthday": "2019-08-24", "gender": "string", "position": "string", "special_roles": "string", "skills": "string", "profile": "string", "language": "string", "languages": "string", "telephone_office": "string", "phone_extension": "string", "telephone": "string", "entry_date": "2019-08-24", "leave_date": "2019-08-24", "type": "user", "plan": "basic", "is_owner": true, "avatar": { "id": "string", "file_name": "string", "mime_type": "string", "size": 0, "entity_id": "string", "entity_type": "string", "created_at": "string" }, "userGroups": [ {} ], "userGroupsCount": 0, "userGroupsExists": true, "customFields": "['custom_field_1' => 'value', 'custom_field_2' => true]", "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z" }