My Google consent for spreadsheet sync
const url = 'https://shareout.site/v1/workspaces/example/file-imports/sheet-sync';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Workspace ID or slug.
Responses
Section titled “Responses”Consent status
object
object
The Drive file id (DriveFileSyncConfig.fileId).
Example generated
{ "available": true, "connected": true, "accountEmail": "example", "picked": { "id": "example", "name": "example", "pickedAt": "2026-04-15T12:00:00Z" }}Access denied
object
Human-readable message.
Machine-readable error code.
Correlation id (also the X-Request-Id header). Quote it in support tickets.
Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.
What to do next, in plain words.
The request field at fault.
Doc page for this error.
Present on 5xx — how to reach a human.
object
Example
{ "success": false, "support": { "how": "POST /v1/support/tickets", "include": [ "request_id" ] }}