Documentation
Content integrations

Content API

Receive Monok articles in a custom CMS or application with the @monok/server npm package.

View as Markdown

Publish To

Integrate and publish automatically

Custom CMS

https://example.com/api/monok Connected
Publish state
Auto Publish
Section
Editorial
Tag
Automatic Match
Post type
Automatic Match
Photo quality
High Quality
Featured image
In Theme
Author
Automatic Match
Slug
Automatic
In Monok, go to Subscriptions, open the card for your subscription, then expand Publish To.

Add the API integration in Publish To

  1. In Monok, open My Subscriptions and select the card for the subscription you want to publish from.
  2. Expand Publish To and select API. If you already have an API connection, choose New Connection to add another, or select the existing destination to use it.
  3. In Add API Integration, enter the Monok API base URL. Use https://example.com if your router is mounted at /api/monok. For a custom mount such as /v1/monok, enter https://example.com/v1/monok. Monok appends /info, /push, and /postfilter to the base.
  4. Select Add Integration. In the destination card, set Publish State to Send to Draft, then save changes to the subscription.
Monok · Publish To → API → New Connection

Deploy your endpoint over HTTPS before connecting. The dialog takes the endpoint URL. Your server gets the workspace API key from its environment.