Publication keyGenerated from lib/mcp.ts

dispatch_create_topic

Creates one game subscription (audience segment) that subscribers can pick at signup and on the manage page.

Create one audience segmentation topic (game subscription) for a publication. Subscribers can then pick it at signup and on the manage page; tag issues with its slug to reach only its subscribers.

  • Use it when: When a publication adds a new game or segment its readers can choose.
  • Don't use it when: Do not use it to tag an issue. That is dispatch_create_issue or dispatch_update_issue with topics.

Link and endpoint

Page link

https://dispatch.nshipyard.com/support/mcp/dispatch_create_topic

Endpoint

POST https://dispatch.nshipyard.com/api/mcp

Call it with method tools/call and name dispatch_create_topic.

Parameters

NameTypeRequiredDescription
publicationIdstringRequired—
labelstringRequiredDisplay name, e.g. 'Daily Crossword'
slugstringOptionalStable slug; defaults to the label slugified
descriptionstringOptionalShort description shown on the signup form

Returns

topic object
The created topic: id, slug, label, description.

Errors

ErrorWhen it happensFix
Not authorized for this publicationThe key belongs to a different publication.Use the publication key shown on that publication's Overview page, or the master key.
Publication not foundThe publicationId does not exist.List publications to get the right id, or copy it from the dashboard URL: /dashboard/pubs/<id>.
topic slug "…" already existsA topic with that slug already exists for this publication.Pick a different label, or list topics to find the existing one.

Related

Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.

All tools