AdnovaDocs
Creative Hub

Import files from a link

Import files into a board from a shared link. Supported sources are google-drive, dropbox, frameio, air and shade. Importing runs in the background: the response returns a batchId straight away, then poll Get an import batch to know the status of the batch. To fetch the boardId please use List boards.

POST
/file-imports-from-links

Authentication

authentication
api-key<token>

Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.

In: header

Header Parameters

x-workspace-id*string

Workspace the request operates in. Get it from List workspaces.

Length1 <= length
x-org-id*string

Organization context (required on every endpoint).

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.adnova.ai/creative-hub/v1/file-imports-from-links" \  -H "x-workspace-id: 01J8ZQ9X2K3M4N5P6R7S8T9V0W" \  -H "x-org-id: 01J8ZQ7B3C4D5F6G7H8K9M0N1P" \  -H "Content-Type: application/json" \  -d '{    "source": "google-drive",    "boardId": "01J8ZB1C2D3E4F5G6H7J8K9M0N",    "link": "https://drive.google.com/drive/folders/1AbCdEfGhIjKlMnOpQrStUvWxYz"  }'
{
  "batchId": "01J8ZH2M4N5P6Q7R8S9T0V1W2X"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}