Connect Drive Folder
POST /customer-success/companies/{company_id}/drive-folder
Map a folder in the organisation’s Google Drive to this client. OWNER/ADMIN.
Uses the Workspace connection the organisation already has - no new grant is made. Mapping the same Drive folder again UPDATES it, and mapping a different folder to the same Library folder REPLACES that mapping. A sync is queued straight away so the files start importing. 400 when the company is not an active client.
Authorizations
Parameters
Path Parameters
Company id.
Company id.
Header Parameters
Request Body required
Mirrors csm.DriveFolderConnectRequest.
object
Google Drive folder id.
Folder name, as shown in Drive.
Responses
200
Successful Response
object
An open envelope for a single role, team, member or account record.
Open on purpose. The app’s own response models on this surface grow with
the product - RoleResponse gained rep_limits and manages_role_slugs,
TeamResponse gained channel counts and a campaign count - and a pinned
mirror would SILENTLY DROP whatever it had not caught up on. A dropped
permission in a role read is the worst possible kind of stale: it reads as
“they do not have it”.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error