Google Cloud Export

Write converted output directly to a GCS bucket by including a gcs object in any request.

Request Example

curl -X POST https://api.sigli.dev/v1/process \
  -H "X-API-Key: sig_live_xxx" \
  -H "X-Convert-Type: html-to-pdf" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "<h1>Report Q2 2026</h1>",
    "gcs": {
      "bucket": "my-reports",
      "key": "reports/q2-2026.pdf"
    }
  }'

Response:

{
  "success": true,
  "meta": { "type": "html-to-pdf" },
  "data": {
    "stored": {
      "provider": "gcs",
      "bucket": "my-reports",
      "key": "reports/q2-2026.pdf",
      "storage_url": "https://storage.googleapis.com/my-reports/reports/q2-2026.pdf",
      "size_bytes": 210048,
      "content_type": "application/pdf"
    }
  }
}
Note: Contact support to have your bucket connected — there's no self-serve credential upload in the dashboard for this today.