{"openapi":"3.0.3","info":{"title":"GrowthDailySeo Tenant API","version":"1.0.0","description":"Headless REST API for draft and published posts and guides. Authenticate with a site-scoped API key (`fig_live_...`). Webhooks notify your CMS when quality-checked drafts are ready.","contact":{"name":"GrowthDailySeo API","email":"contact@growthdailyseo.com"}},"servers":[{"url":"/api/v1","description":"Tenant API v1"}],"tags":[{"name":"Posts","description":"Published blog posts"},{"name":"Guides","description":"Published guides"},{"name":"Training","description":"Opt-in training export"},{"name":"Webhooks","description":"Webhook utilities"},{"name":"SEO","description":"Sitemap, pages, and discovery helpers"}],"paths":{"/sites/{siteId}/posts":{"get":{"tags":["Posts"],"summary":"List posts (draft + published)","operationId":"listPosts","security":[{"bearerAuth":[]}],"parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1}},{"name":"pageSize","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":12}},{"name":"search","in":"query","schema":{"type":"string"},"description":"Filter by title (case-insensitive)"},{"name":"status","in":"query","schema":{"type":"string","enum":["draft","published","all"],"default":"all"},"description":"Filter by status. Default `all` returns draft + published (recommended for CMS sync)."},{"name":"language","in":"query","schema":{"type":"string"},"description":"ISO language code prefix (e.g. en, tr). Matches post.language."},{"name":"updatedAfter","in":"query","schema":{"type":"string","format":"date-time"},"description":"ISO 8601 timestamp — only posts updated strictly after this time (incremental sync)."}],"responses":{"200":{"description":"Paginated post list","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostListResponse"}}}},"304":{"description":"Not modified (If-None-Match)","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}}},"400":{"description":"Invalid query parameters (page, pageSize, status, language, updatedAfter, search length)","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}},"/sites/{siteId}/posts/{slug}":{"get":{"tags":["Posts"],"summary":"Get post by slug (draft or published)","operationId":"getPost","security":[{"bearerAuth":[]}],"parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","schema":{"type":"string"},"description":"Comma-separated expansions. `provenance` attaches source graph metadata when available on the post."},{"name":"lang","in":"query","schema":{"type":"string","example":"pt"},"description":"Multi-language articles share a slug across languages. Pass the language to pick that version; without it the original (source) version is used."}],"responses":{"200":{"description":"Post (draft or published)","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Post"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}},"/sites/{siteId}/posts/{slug}/publish":{"post":{"tags":["Posts"],"summary":"Confirm a post is live on the customer site","description":"CMS adapters call this after they publish a slug. The dashboard reads `posts.status`; without this ack a live article stays marked as a draft.","operationId":"confirmPostPublished","security":[{"bearerAuth":[]}],"parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"lang","in":"query","schema":{"type":"string","example":"pt"},"description":"Multi-language articles share a slug across languages. Pass the language to pick that version; without it the original (source) version is used."}],"responses":{"200":{"description":"Post is now published (or already was)","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"outcome":{"type":"string","enum":["published","already_published"]},"postId":{"type":"string","format":"uuid"},"slug":{"type":"string"},"status":{"type":"string","example":"published"}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"description":"Daily publish limit reached","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}},"/sites/{siteId}/sitemap.xml":{"get":{"tags":["SEO"],"summary":"Published posts and guides sitemap","description":"XML sitemap for published content on the tenant domain. Auth via `Authorization: Bearer <key>` header only. API keys in the URL (`?token=`) are rejected with 400 `token_in_query_not_supported` so keys never reach access logs; fetch server-side and serve the XML from your own domain.","operationId":"getSitemap","security":[{"bearerAuth":[]}],"parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"application/xml sitemap","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}},"Cache-Control":{"schema":{"type":"string","example":"private, max-age=300"}}},"content":{"application/xml":{"schema":{"type":"string"}}}},"304":{"description":"Not modified (If-None-Match)","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}}},"400":{"description":"A `token` query parameter was sent. Error code `token_in_query_not_supported`; send the key in the Authorization header instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}},"/sites/{siteId}/pages":{"get":{"tags":["SEO"],"summary":"List generated growth pages","operationId":"listPages","security":[{"bearerAuth":[]}],"parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"status","in":"query","schema":{"type":"string","enum":["draft","published","all"],"default":"all"}}],"responses":{"200":{"description":"Page specs for your CMS","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageListResponse"}}}},"304":{"description":"Not modified (If-None-Match)","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}},"/sites/{siteId}/pages/{path}":{"get":{"tags":["SEO"],"summary":"Get a generated growth page by path","operationId":"getPage","security":[{"bearerAuth":[]}],"parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"path","in":"path","required":true,"schema":{"type":"string"},"description":"Page path without the leading slash, e.g. faq or use-cases/billing. Nested paths may be sent as-is or with slashes URL-encoded (%2F)."}],"responses":{"200":{"description":"Page spec","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Page"}}}},"304":{"description":"Not modified (If-None-Match)","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}},"/sites/{siteId}/llms.txt":{"get":{"tags":["SEO"],"summary":"llms.txt for answer engines","description":"Plain-text site summary. Auth via `Authorization: Bearer <key>` header only. API keys in the URL (`?token=`) are rejected with 400 `token_in_query_not_supported` so keys never reach access logs; fetch server-side and host the file on your own domain.","operationId":"getLlmsTxt","security":[{"bearerAuth":[]}],"parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"text/plain llms.txt","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}},"Cache-Control":{"schema":{"type":"string","example":"private, max-age=300"}}},"content":{"text/plain":{"schema":{"type":"string"}}}},"304":{"description":"Not modified (If-None-Match)","headers":{"ETag":{"schema":{"type":"string"},"description":"Payload fingerprint for If-None-Match"},"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}}},"400":{"description":"A `token` query parameter was sent. Error code `token_in_query_not_supported`; send the key in the Authorization header instead.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}},"/sites/{siteId}/guides/{slug}":{"get":{"tags":["Guides"],"summary":"Get guide by slug","operationId":"getGuide","security":[{"bearerAuth":[]}],"parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Published guide","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Guide"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}},"/sites/{siteId}/training/export":{"get":{"tags":["Training"],"summary":"Export training JSONL","description":"Returns opted-in training rows as NDJSON. Requires `training_opt_in` on the site.","operationId":"exportTraining","security":[{"bearerAuth":[]}],"parameters":[{"name":"siteId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"NDJSON stream (max 500 rows)","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/x-ndjson":{"schema":{"type":"string"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"description":"Training export is not enabled for this site","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}},"/webhooks/test":{"post":{"tags":["Webhooks"],"summary":"Send test webhook","description":"POSTs a `webhook.test` event to the configured webhook URL.","operationId":"testWebhook","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Delivery attempt result","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"status":{"type":"integer","nullable":true},"delivered":{"type":"boolean"},"message":{"type":"string","nullable":true,"description":"Human-readable delivery detail"}},"required":["ok","delivered"]}}}},"400":{"description":"No webhook URL configured","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/ServerError"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"fig_live_...","description":"Site-scoped API key from the API page in your workspace"}},"responses":{"Unauthorized":{"description":"Missing or invalid API key, or key not scoped to siteId","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"Resource not found (slug missing). Wrong siteId returns 401, not 404.","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"RateLimited":{"description":"Daily API request quota exceeded for plan","headers":{"X-RateLimit-Limit":{"schema":{"type":"integer"},"description":"Daily quota for the org plan"},"X-RateLimit-Remaining":{"schema":{"type":"integer"},"description":"Requests left until UTC midnight"},"X-RateLimit-Reset":{"schema":{"type":"integer","description":"Unix seconds (next UTC midnight)"}},"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until the daily quota resets (UTC midnight)"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"ServerError":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string","description":"Stable machine-readable error code, present on selected errors (e.g. token_in_query_not_supported)."}},"required":["error"]},"PostListResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PostSummary"}},"page":{"type":"integer"},"pageSize":{"type":"integer"},"total":{"type":"integer"},"totalPages":{"type":"integer"}}},"PostSummary":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"excerpt":{"type":"string","nullable":true},"contentHtml":{"type":"string"},"status":{"type":"string","enum":["draft","published"]},"publishedAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"readingTimeMinutes":{"type":"integer","nullable":true},"qualityBand":{"type":"string","nullable":true,"enum":["premium","standard","review"],"description":"Opaque quality tier for routing in your CMS (internal score not exposed)"},"assuranceLabel":{"type":"string","nullable":true},"reviewStatus":{"type":"string","nullable":true},"aiGenerated":{"type":"boolean"},"language":{"type":"string","nullable":true},"sourcePostId":{"type":"string","format":"uuid","nullable":true},"alternates":{"type":"array","description":"Present on single-post fetch when the article exists in more than one language. Use it for hreflang alternates and same-language internal links.","items":{"type":"object","required":["language","slug","postId","isSource"],"properties":{"language":{"type":"string"},"slug":{"type":"string"},"postId":{"type":"string","format":"uuid"},"isSource":{"type":"boolean"}}}},"provenance":{"type":"object","nullable":true,"description":"Present only when `include=provenance` on single-post fetch"},"seo":{"type":"object","nullable":true,"properties":{"metaDescription":{"type":"string"},"ogTitle":{"type":"string"},"ogDescription":{"type":"string"},"keywords":{"type":"array","items":{"type":"string"}}}},"faqJsonLd":{"type":"object","nullable":true},"schemaBundle":{"type":"object","nullable":true,"description":"Article, breadcrumb, and FAQ JSON-LD objects ready to embed","properties":{"article":{"type":"object"},"breadcrumb":{"type":"object"},"faq":{"type":"object","nullable":true}}}}},"Post":{"allOf":[{"$ref":"#/components/schemas/PostSummary"}]},"Guide":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"excerpt":{"type":"string","nullable":true},"contentHtml":{"type":"string"},"status":{"type":"string"},"publishedAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"readingTimeMinutes":{"type":"integer","nullable":true}}},"Page":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"path":{"type":"string"},"pageType":{"type":"string"},"status":{"type":"string","enum":["draft","published"]},"title":{"type":"string"},"meta":{"type":"object"},"blocks":{"type":"array"},"jsonLd":{"type":"array"},"internalLinks":{"type":"array"},"html":{"type":"string"},"publishedAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}}},"PageListResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Page"}}}},"PagePublishedWebhook":{"type":"object","properties":{"event":{"type":"string","example":"page.published"},"siteId":{"type":"string","format":"uuid"},"pageId":{"type":"string","format":"uuid"},"path":{"type":"string"},"title":{"type":"string"},"pageType":{"type":"string"},"status":{"type":"string","example":"published"},"at":{"type":"string","format":"date-time"},"fetch":{"type":"object","properties":{"path":{"type":"string","example":"/api/v1/sites/{siteId}/pages/{path}"},"hint":{"type":"string"}}}}},"ArticleReadyWebhook":{"type":"object","properties":{"event":{"type":"string","example":"article.ready"},"siteId":{"type":"string","format":"uuid"},"postId":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"trustScore":{"type":"number","nullable":true,"deprecated":true,"description":"Use qualityBand in CMS API"},"qualityBand":{"type":"string","nullable":true,"enum":["premium","standard","review"]},"assuranceLabel":{"type":"string","nullable":true},"language":{"type":"string","nullable":true,"description":"Post language (translations include sourcePostId)"},"sourcePostId":{"type":"string","format":"uuid","nullable":true},"status":{"type":"string","example":"draft"},"at":{"type":"string","format":"date-time"},"fetch":{"type":"object","properties":{"path":{"type":"string","example":"/api/v1/sites/{siteId}/posts/{slug}"},"hint":{"type":"string"}}}}}}},"x-webhooks":{"articleReady":{"post":{"summary":"Fired when a quality-checked draft is queued","description":"If your receiver puts the post live while handling this request, answer 2xx with `{\"status\":\"published\"}` and the dashboard marks it published. Receivers that publish later call POST /sites/{siteId}/posts/{slug}/publish. Posts that appear on your public sitemap or blog index are also detected once a day.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleReadyWebhook"}}}},"responses":{"2XX":{"description":"Received. Optional body acknowledges a publish.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["published"]}}}}}}},"parameters":[{"name":"X-GrowthDaily-Signature","in":"header","schema":{"type":"string"}},{"name":"X-GrowthDaily-Timestamp","in":"header","schema":{"type":"string"}}]}},"pagePublished":{"post":{"summary":"Fired once when a page draft is published in the panel; fetch the page spec to publish it on your site","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PagePublishedWebhook"}}}},"parameters":[{"name":"X-GrowthDaily-Signature","in":"header","schema":{"type":"string"}},{"name":"X-GrowthDaily-Timestamp","in":"header","schema":{"type":"string"}}]}}}}