The number of results that will be returned per page.
Kanbert (v1)
https://developers.kanbert.com/_bundle/openapi.json#/paths/~1clients/get
Query
Available sorts are name, shortcode, created_at.
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
Available includes are primaryContact, projects, originSpace. You can include multiple options by separating them with a comma.
Allowed filter fields (with allowed operators):
| Field | Type | Operators |
|---|---|---|
name | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull |
shortcode | string | in, nin, notin, eq, ne, neq, contains, like, startswith, endswith, isnull, isnotnull, notnull |
archived | enum: with, only, without | eq |
segment | enum<ClientSegment> | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
primary_contact_id | id<UserData> | eq, ne, neq, in, nin, notin, isnull, isnotnull, notnull |
projects | Relation- shortcode (string) - name (string) - is_acquisition (boolean) - status (enum) | any, none, count, all |
origin_space_id | id<SpaceData> | eq, ne, neq, in, nin, notin, 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.
Example: filter=title contains "Acme" and (created_at >= "2024-01-01" or client.name contains "Corp")
- https://api.kanbert.int/api/v1/clients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kanbert.int/api/v1/clients?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>'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" } }
https://developers.kanbert.com/_bundle/openapi.json#/paths/~1clients/post
Bodyapplication/jsonrequired
Can be used to add an identifier to the client from an external system, must be unique
If not provided, the shortcode will be generated, Shortcode must be unique
- https://api.kanbert.int/api/v1/clients
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.kanbert.int/api/v1/clients \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"external_id": "string",
"name": "string",
"shortcode": "string",
"segment": "A",
"primary_contact_id": "string"
}'Response
application/json
{ "id": "string", "external_id": "string", "name": "string", "shortcode": "string", "segment": "A", "created_at": "2019-08-24T14:15:22Z", "primary_contact_id": "string", "primaryContact": { "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": { … }, "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" }, "projects": [ { … } ], "origin_space_id": "string", "originSpace": { "id": "string", "name": "string" } }
https://developers.kanbert.com/_bundle/openapi.json#/paths/~1clients~1{id}/get
- https://api.kanbert.int/api/v1/clients/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kanbert.int/api/v1/clients/{id}?findBy=id&include=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "id": "string", "external_id": "string", "name": "string", "shortcode": "string", "segment": "A", "created_at": "2019-08-24T14:15:22Z", "primary_contact_id": "string", "primaryContact": { "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": { … }, "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" }, "projects": [ { … } ], "origin_space_id": "string", "originSpace": { "id": "string", "name": "string" } }
https://developers.kanbert.com/_bundle/openapi.json#/paths/~1clients~1{id}/put
- https://api.kanbert.int/api/v1/clients/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api.kanbert.int/api/v1/clients/{id}?findBy=id' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"external_id": "string",
"name": "string",
"shortcode": "string",
"segment": "A",
"primary_contact_id": "string"
}'Response
application/json
{ "id": "string", "external_id": "string", "name": "string", "shortcode": "string", "segment": "A", "created_at": "2019-08-24T14:15:22Z", "primary_contact_id": "string", "primaryContact": { "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": { … }, "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" }, "projects": [ { … } ], "origin_space_id": "string", "originSpace": { "id": "string", "name": "string" } }
https://developers.kanbert.com/_bundle/openapi.json#/paths/~1clients~1{id}/delete
- https://api.kanbert.int/api/v1/clients/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.kanbert.int/api/v1/clients/{id}?findBy=id' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "message": "Client deleted successfully" }
https://developers.kanbert.com/_bundle/openapi.json#/paths/~1clients~1{id}~1restore/put
- https://api.kanbert.int/api/v1/clients/{id}/restore
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api.kanbert.int/api/v1/clients/{id}/restore?findBy=id' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "id": "string", "external_id": "string", "name": "string", "shortcode": "string", "segment": "A", "created_at": "2019-08-24T14:15:22Z", "primary_contact_id": "string", "primaryContact": { "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": { … }, "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" }, "projects": [ { … } ], "origin_space_id": "string", "originSpace": { "id": "string", "name": "string" } }