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>"
}Import a file from Google Drive.
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>"
}Zo API key (zo_sk_...)
Successful Response
Response model for file import endpoint.