POST
/v1/delivery?squid={squid_hash}Configure Google Sheet Delivery
Export squid run results directly to a shared Google SheetConfigure Google Sheet delivery to export run results directly to a shared Google Sheet. Results can be overwritten with each run or appended with deduplication.
Behavior
- append = false: Only the latest run's data is exported. Any previously exported data is overwritten.
- append = true: Data from all runs is appended and deduplicated before export.
Requirements
- The Google Sheet must be shared with "Anyone with the link"
- The sheet must have Editor access permission
- Export is limited to 100,000 rows
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Request Body
google_sheet_fields.urlstring
RequiredExample: https://docs.google.com/spreadsheets/d/1ly9nwTs-hNaFCzWtSljevSf16chs5Nn0PIv_TpQSEhA/edit?usp=sharing
google_sheet_fields.appendboolean
RequiredExample: false
google_sheet_fields.is_activeboolean
RequiredExample: true
Response Field Explanations
google_sheet_fields.url
string
Example: https://docs.google.com/spreadsheets/d/1ly9nwTs-hNaFCzWtSljevSf16chs5Nn0PIv_TpQSEhA/edit?usp=sharing
google_sheet_fields.is_active
boolean
Example: true
google_sheet_fields.append
boolean
Example: false
Parameters
squidstring
RequiredExample:
c106a44a98044ef18acc59986ae10967Warning
The Google Sheet MUST be shared with 'Anyone with the link' and have Editor permissions. Without these settings, export will fail.
Pro Tip
Use append: false for dashboards where you only want the latest data. Use append: true for historical tracking.
Note
When append is true, Lobstr automatically deduplicates rows before exporting, so you won't get duplicate entries.
Warning
Export is limited to 100,000 rows. If your squid generates more results, consider using S3 or SFTP delivery instead.
Pro Tip
Use the Test Google Sheet endpoint to verify your sheet permissions before activating automatic delivery.