Clients & contacts
Read and manage client organisations and their contacts.
#The directory and the organisation picker
/client-organisationsQuery parameters
q | string | Min length 1 · Max length 120 |
filter[status] | string | One of: |
filter[pinned] | string | F-REL-01.R20: true keeps only the organisations that the reader pinned ( One of: |
page[number] | integer | Default: |
page[size] | integer | One of: |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200The visible organisations with totals and segment counts.application/json
#Create a client organisation
/client-organisationsHeaders
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The new organisation.application/json
#The client card — details, counts and the reader's projects
/client-organisations/{organisationId}Path parameters
organisationIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200The card; the ETag carries the version.application/json
#Rename an organisation or change its website
/client-organisations/{organisationId}Path parameters
organisationIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/merge-patch+jsonrequired
Loading the schema…
Responses
200The updated organisation.application/json
#Archive an organisation — hidden from pickers, every reference kept
/client-organisations/{organisationId}/archivePath parameters
organisationIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Responses
200The archived organisation.application/json
#The contacts of an organisation with their portal status — the card's table
/client-organisations/{organisationId}/contactsPath parameters
organisationIdrequired | string (uuid) |
Query parameters
q | string | Min length 1 · Max length 120 |
filter[status] | string | One of: |
page[number] | integer | Default: |
page[size] | integer | One of: |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200A page of contacts by name.application/json
#Add a contact to an organisation
/client-organisations/{organisationId}/contactsPath parameters
organisationIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The new contact.application/json
#The projects of an organisation in the reader's scope, past the card's first 25
/client-organisations/{organisationId}/projectsPath parameters
organisationIdrequired | string (uuid) |
Query parameters
page[cursor] | string | The opaque cursor of the previous page's links.next (05-api §5). Max length 512 |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200A page of at most 50 projects by name.application/json
#Restore an archived organisation
/client-organisations/{organisationId}/restorePath parameters
organisationIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Responses
200The restored organisation.application/json
#The contact picker across the organisations the caller may see
/contactsQuery parameters
q | string | Min length 1 · Max length 120 |
filter[organisationId] | string (uuid) | |
filter[projectKey] | string | Pattern |
filter[status] | string | One of: |
page[number] | integer | Default: |
page[size] | integer | One of: |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200Matching contacts with their organisation.application/json
#The contact panel
/contacts/{contactId}Path parameters
contactIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200The contact with its organisation, linked guest and portal entries; the ETag carries the version.application/json
#Edit a contact — name and e-mail only while unlinked
/contacts/{contactId}Path parameters
contactIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/merge-patch+jsonrequired
Loading the schema…
Responses
200The updated contact.application/json
#Archive a contact — hidden from pickers, link and access kept
/contacts/{contactId}/archivePath parameters
contactIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Responses
200The archived contact.application/json
#Restore an archived contact
/contacts/{contactId}/restorePath parameters
contactIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Responses
200The restored contact.application/json
#Delete an organisation that nothing refers to
/client-organisations/{organisationId}Path parameters
organisationIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
204Deleted.
No body.
#Erase a contact — irreversible
/contacts/{contactId}/erasePath parameters
contactIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Responses
200The erased contact's pseudonym and whether the certificate has been recorded; a repeat returns the same.application/json
#Invite a contact to a project's client portal
/contacts/{contactId}/invitePath parameters
contactIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The invitation was created, or resent.application/json
#The projects a contact can be invited to, with their client versions and the contact's state on each
/contacts/{contactId}/invite-optionsPath parameters
contactIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200Eligibility, the reason when there is none, and the eligible projects.application/json
#CSV of a selection of contacts or of a filtered set
/contacts/exportHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200A streamed text/csv attachment (up to 100,000 rows); the audit record was committed before the first byte.text/csv
202An export operation for larger sets; its result is the file id and row count, read with GET /operations/{id}.application/json
Was this helpful?