Publication keyGenerated from lib/mcp.ts
dispatch_get_share_assets
Returns everything needed to promote one issue on social: its link, per-network links with tracking, the social image, and pre-written copy.
Get the social-promotion bundle for an issue: canonical URL plus per-network UTM-tagged URLs (X, Facebook, LinkedIn, WhatsApp, Telegram, email), the social image URL, pre-written copy per network (with character counts), and ready share-intent links. Use it to promote a sent issue on social, or to line up posts for a draft before it sends.
- Use it when: Right after sending, or while lining up posts for a draft before it sends.
- Don't use it when: Do not use it to send the issue. It only prepares promotion.
Link and endpoint
Page link
https://dispatch.nshipyard.com/support/mcp/dispatch_get_share_assetsEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_get_share_assets.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
publicationId | string | Required | Publication id |
issueId | string | Required | Issue id |
Returns
canonical_urlstring- The issue's public page.
urlsobject- Per-network URLs (X, Facebook, LinkedIn, WhatsApp, Telegram, email) with UTM tags.
copyobject- Pre-written post text per network, with character counts.
social_image_urlstring- The preview image for the post.
Errors
| Error | When it happens | Fix |
|---|---|---|
Not authorized for this publication | The key belongs to a different publication. | Use the publication key shown on that publication's Overview page, or the master key. |
Issue not found | The issueId does not belong to this publication. | Check the issue id on the publication's Overview page. |
Related
Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.