The company: region, timezone, collation, limits, field labels and capabilities.
GET/api/v1/companyNone
No scope needed.
| Scope | None |
| Asynchronous | No |
| MCP tool | get_company |
| Portal permissions | view_tenant_settings |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json Company |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
method_not_allowed | 405 |
not_acceptable | 406 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
AdditionalFieldLabel
| Field | Type | Required | Description |
|---|---|---|---|
label | string or null | Required | |
sort_order | integer | Required | ≥ -2147483648; ≤ 2147483647 |
AdditionalFieldLabels
| Field | Type | Required | Description |
|---|---|---|---|
additional_field_3 | AdditionalFieldLabel | Required | |
additional_field_4 | AdditionalFieldLabel | Required | |
additional_field_5 | AdditionalFieldLabel | Required | |
additional_field_6 | AdditionalFieldLabel | Required |
Company
| Field | Type | Required | Description |
|---|---|---|---|
additional_fields | AdditionalFieldLabels | Required | |
base_url | string | Required | |
capabilities | array of string | Required | |
company_code | string | Required | |
limits | CompanyLimits | Required | |
name | string or null | Required | |
region | string or null | Required | The serving api_instance (open enum); null on a single-instance installation. |
text_collation | string | Required | Whether the organisation's text comparisons treat case as significant: case_insensitive or case_sensitive. |
text_limits | TextLimits | Required | |
timezone | string | Required | IANA zone of business dates. Until a company timezone exists it is the deployment's storage zone. |
CompanyLimits
| Field | Type | Required | Description |
|---|---|---|---|
change_feed_retention_days | integer | Required | ≥ -2147483648; ≤ 2147483647 |
edge_max_request_bytes | string or null | Required | The edge's request body limit; null where none is configured. |
mcp_request_bytes | string | Required | |
mcp_response_bytes | string | Required | |
request_seconds | integer | Required | ≥ -2147483648; ≤ 2147483647 |
statement_seconds | integer | Required | ≥ -2147483648; ≤ 2147483647 |
ProjectTextLimits
| Field | Type | Required | Description |
|---|---|---|---|
email_address | TextLimit | Required | |
other_parties | TextLimit | Required | |
parties | TextLimit | Required | |
project_name | TextLimit | Required | |
project_number | TextLimit | Required | |
project_owner | TextLimit | Required | |
reference_number | TextLimit | Required | |
source | TextLimit | Required |
TextLimit
| Field | Type | Required | Description |
|---|---|---|---|
encoding | string or null | Required | |
max_length | integer | Required | ≥ -2147483648; ≤ 2147483647 |
unit | string | Required |
TextLimits
| Field | Type | Required | Description |
|---|---|---|---|
project | ProjectTextLimits | Required |