Skip to main content
POST
/
connections
/
drive
/
import
Import Drive File
curl --request POST \
  --url https://api.zo.computer/connections/drive/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "file_id": "<string>",
  "target_path": [
    "<string>"
  ],
  "filename": "<string>",
  "mime_type": "<string>",
  "account_id": "<string>"
}
'
{
  "filename": "<string>"
}

Authorizations

Authorization
string
header
required

Zo API key (zo_sk_...)

Body

application/json

Request model for file import endpoint.

file_id
string
required
target_path
string[]
required
filename
string
required
mime_type
string | null
account_id
string | null

Response

Successful Response

Response model for file import endpoint.

filename
string
required