Skip to content

My Google consent for spreadsheet sync

GET
/v1/workspaces/{workspaceId}/file-imports/sheet-sync
curl --request GET \
--url https://shareout.site/v1/workspaces/example/file-imports/sheet-sync \
--header 'Authorization: Bearer <token>'

The scheduled spreadsheet sync (drive_file_sync jobs) has its own Google consent, apart from folder import: drive.file, so ShareOut reads only the files picked in the Google Picker. available = this instance has a Google client for it. picked = the last spreadsheet I picked in this workspace (null before the first pick): an API client that handed me the pick link reads it here to create the drive_file_sync job.

workspaceId
required
string

Workspace ID or slug.

Consent status

Media typeapplication/json
object
available
boolean
connected
boolean
accountEmail
string
nullable
picked
object
id

The Drive file id (DriveFileSyncConfig.fileId).

string
name
string
pickedAt
string format: date-time
nullable

Example generated

{
"available": true,
"connected": true,
"accountEmail": "example",
"picked": {
"id": "example",
"name": "example",
"pickedAt": "2026-04-15T12:00:00Z"
}
}

Access denied

Media typeapplication/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
request_id

Correlation id (also the X-Request-Id header). Quote it in support tickets.

string
reason

Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.

string
hint

What to do next, in plain words.

string
suggestion
string
param

The request field at fault.

string
docs

Doc page for this error.

string
redirect_url
string
support

Present on 5xx — how to reach a human.

object
how
string
include
Array<string>

Example

{
"success": false,
"support": {
"how": "POST /v1/support/tickets",
"include": [
"request_id"
]
}
}