Repository navigation
docs(content): document Send to CMS and the content_draft.sent webhook (Send to CMS #1331, part 4) - #1441
Merged
Conversation
…k (Send to CMS ansvisor#1331, part 4) - a Send to CMS guide: setting up the webhook, sending one page or up to 25 from the Library, the row icons, and building the workflow in n8n, Make or Zapier with the callback that reports the live address - the Webhooks reference: the content_draft.sent event (opt-in), its package, the X-Ansvisor-Signature HMAC, the published callback and the delivery rules (2xx, 15 s, no redirects, 25 a send, 200 a day) - the Content Editor guide points to it from the editor and the Library Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
gkhngyk
reviewed
Oct 24, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good. The numbers and behaviour match #1437 and the web PRs. Two small wording fixes:
docs/api-reference/webhooks.mdx, thepage.htmlnote: the second clean also keeps relative links, anddata:image/…sources on images (safeUrlincontent-delivery.js). Say "links only tohttp,https,mailto,telor relative addresses".- Same file, the callback's limits: the callback uses the same limiter instances as the opportunity callback, keyed on the same secret, so the 1,200 per 15 minutes covers both together. "Shares the opportunity callback's limits" is more accurate than "has the same limits".
If #1437 changes the package or the callback body (see its review), update the payload example and the callback section to match before merging this.
4 of 8 tasks
…ansvisor#1437 review) - the callback is /status with { status, url?, externalId?, reason? } - the package's jsonLd, method, sourceUrl, pageType, language and brand.id - links to http, https, mailto, tel or relative addresses; the callback shares the opportunity callback's limits; a 2 s pause between pages Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
|
Thanks. Both wording fixes, and #1437's changes, are in 6d0875b.
Updated to match #1437:
|
gkhngyk
reviewed
Oct 24, 2026
# Conflicts: # docs/guides/content-editor.mdx
…closes (ansvisor#1440) Co-Authored-By: Claude Opus 5.5 <[email protected]>
gkhngyk
approved these changes
Oct 24, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
All items done. Looks good.
- The History sentence in
webhooks.mdxnow matches #1437. A re-send that goes live at the same address is kept as a newpublishversion. - The new line on bulk sends matches #1440:
- pages are grouped into requests by size;
- each request waits for the one before;
- closing the dialog stops the rest and says how many didn't go.
- The main merge (edd8dc8) resolves the
content-editor.mdxconflict by keeping both sides, and changes nothing else.
7 of 12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Send to CMS, part 4: the docs for phase 1 of #1331. This PR is docs only and branches from
main.Merge after #1437, #1438, #1439 and #1440: it describes what they ship.
guides/send-to-cms.mdx, added to Platform Guides after the Content Editor guide:api-reference/webhooks.mdx:content_draft.sentevent (opt-in since 00262);X-Ansvisor-SignatureHMAC-SHA256 with a verification snippet;POST /webhooks/content-drafts/{deliveryId}/publishedcallback: auth, body, effects and limits;guides/content-editor.mdx: Send to CMS in the editor's buttons and the Library row menu, linking to the guide.Every number and behaviour comes from #1437's code (
content-delivery.js,safe-post.js,webhook-content-draft-callback.js) and the web PRs. The examples useexample.com/acme.exampleonly.Related issue
Part of #1331 (phase 1, webhook).
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
npx mintlify devindocs/). Check that Send to CMS appears under Platform Guides and that its links open the Webhooks reference.content_draft.sentrow, the signature section, the package and callback sections, and the delivery notes.Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/): not applicable, docs onlyyarn typecheckpasses (run fromweb/): not applicable, docs onlyyarn format:checkpasses (run fromweb/): not applicable, docs only🤖 Generated with Claude Code