GET/v1/tenants/{tenantId}/core/organisational_units/companies

Synchronize companies Experimental

Live entity representations and retained deletions, ordered by modification/deletion timestamp and ID. Use an overlap window when polling from a completed sync_through checkpoint. Requires organisational_units:read or core:read. Save sync_through after the final page succeeds, then subtract a configurable overlap window for the next poll.

Parameters

tenantIdrequired
sinceoptional

Inclusive ISO 8601 timestamp with offset. Omit to synchronize everything. Cannot be combined with cursor.

cursoroptional

Opaque next_cursor from the previous page. Pass it back unchanged to continue the same collection.

limitoptional

Combined entities and deletions per page: default 100, maximum 500. May change between pages.

  • Format: int32

Responses

200Response
application/json
itemsrequired
Show item fields

Exactly one of these shapes is allowed.

deleted
typerequired
Allowed values"deleted"
idrequired
changed_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
deleted_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
entity
typerequired
Allowed values"entity"
datarequired
Show child fields
idrequired
addressesrequired
Show item fields
cityrequired

Further nesting is omitted. See the schema for the full definition.

idrequired

Further nesting is omitted. See the schema for the full definition.

mainrequired

Further nesting is omitted. See the schema for the full definition.

streetrequired

Further nesting is omitted. See the schema for the full definition.

address_typerequired

Further nesting is omitted. See the schema for the full definition.

country_iso_coderequired

Further nesting is omitted. See the schema for the full definition.

post_coderequired

Further nesting is omitted. See the schema for the full definition.

emailoptional
namerequired
numberrequired
phoneoptional
statusrequired
versionrequired
  • Format: int64
business_registration_numberoptional
company_typerequired
country_iso_coderequired
created_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
currency_iso_coderequired
invoice_emailoptional
is_customerrequired
is_supplierrequired
language_iso_coderequired
modified_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
web_addressoptional
changed_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
next_cursorrequired
sync_throughrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
400Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
401Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
403Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"