Skip to main content
POST
/
unstable
/
documents
/
import
Import dashboard
curl --request POST \
  --url https://{instance}.omniapp.co/api/unstable/documents/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "baseModelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dashboard": {},
  "document": {},
  "workbookModel": {},
  "exportVersion": "0.1",
  "identifier": "<string>",
  "folderPath": "<string>"
}
'
{
  "dashboard": {
    "dashboardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "miniUuidMap": {},
  "workbook": {}
}

Authorizations

Authorization
string
header
required

Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN

Body

application/json
baseModelId
string<uuid>
required

Target model ID

dashboard
object
required

Dashboard configuration from export

document
object
required

Document metadata from export

workbookModel
object
required

Workbook model from export

exportVersion
enum<string>
required

Export format version (must be "0.1")

Available options:
0.1
identifier
string

Custom identifier for the imported dashboard

folderPath
string

Destination folder path

Response

Dashboard imported successfully

dashboard
object
miniUuidMap
object
workbook
object