Create an interface (dashboard).
POST/api/v1/interfacesanalytics:write
| Scope | analytics:write |
| Asynchronous | No |
| MCP tool | create_interface |
| Portal permissions | create_virtual_interfaces |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Request body
| Content type | Type |
|---|---|
application/json | InterfaceCreateInput |
Responses
| Status | Description | Body |
|---|---|---|
201 | Success. | application/json Interface or object |
400 | invalid_version, malformed_json | 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 |
409 | idempotency_in_progress | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, 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.
Schemas
Interface
| Field | Type | Required | Description |
|---|---|---|---|
created_by | UserRef or null | Required | |
document_type_ids | array of string | Required | |
filters | object or null | Required | format interface_filters: the interface's filters; null in list items. |
group_ids | array of string or null | Required | Groups that may see the interface; null without View Virtual Interface Security and View Groups. |
interface_group_id | string or null | Required | |
interface_id | string | Required | |
layout | object or null | Required | format interface_layout: the panels and charts; null in list items. |
name | string | Required | |
settings | object or null | Required | format interface_settings: show_as_app and app_icon (list the interface as an app), panel_style (the interface-wide panel appearance) and mappings (filter column mappings). The validation rules are not part of it: they are the validations sub-resource. |
user_ids | array of string or null | Required | Users that may see the interface; null without View Virtual Interface Security and View Users. |
InterfaceCreateInput
| Field | Type | Required | Description |
|---|---|---|---|
document_type_ids | array of string | Optional | |
filters | object or null | Optional | |
group_ids | array of string | Optional | |
interface_group_id | string or null | Optional | |
layout | object or null | Optional | |
name | string | Required | |
settings | object or null | Optional | format interface_settings; members it omits take their defaults. |
user_ids | array of string | Optional |
UserRef
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required |