Skip to main content

Create an interface (dashboard).

POST/api/v1/interfacesanalytics:write
Scopeanalytics:write
AsynchronousNo
MCP toolcreate_interface
Portal permissionscreate_virtual_interfaces

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonInterfaceCreateInput

Responses​

StatusDescriptionBody
201Success.application/json Interface or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Interface​

FieldTypeRequiredDescription
created_byUserRef or nullRequired
document_type_idsarray of stringRequired
filtersobject or nullRequiredformat interface_filters: the interface's filters; null in list items.
group_idsarray of string or nullRequiredGroups that may see the interface; null without View Virtual Interface Security and View Groups.
interface_group_idstring or nullRequired
interface_idstringRequired
layoutobject or nullRequiredformat interface_layout: the panels and charts; null in list items.
namestringRequired
settingsobject or nullRequiredformat 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_idsarray of string or nullRequiredUsers that may see the interface; null without View Virtual Interface Security and View Users.

InterfaceCreateInput​

FieldTypeRequiredDescription
document_type_idsarray of stringOptional
filtersobject or nullOptional
group_idsarray of stringOptional
interface_group_idstring or nullOptional
layoutobject or nullOptional
namestringRequired
settingsobject or nullOptionalformat interface_settings; members it omits take their defaults.
user_idsarray of stringOptional

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired