Connecting your website for publishing
Set up your website's article API so SigoMark publishes approved articles automatically
How publishing works
SigoMark pushes articles to your website through an API. Each approved article becomes one POST request to your article API. SigoMark never logs into your admin panel and never uses FTP.
Your website exposes:
- Article API (required): receives Markdown content with front matter.
- Image API (optional): keeps article images on your own site.
- Categories API (optional): lets reviewers pick a news category for each article.
All three APIs share one key, sent in the X-Api-Key header. The full specification (request fields, responses, JSON examples) is in Website API.
Setup in SigoMark
Go to Projects, click Edit on the project, and open Publish to website (article API, images):
- Article API Endpoint: your article URL, e.g.
https://example.com/api/articles. The image and categories APIs must be on the same domain. - API Key Ref: your website's API key. Either:
- paste the key directly;
- or enter
env:VARIABLE_NAMEso the SigoMark server reads it from an environment variable and the key is not stored in the database.
- Save.
What SigoMark sends
- Content: Markdown with front matter (
title,desc,keyword,category…), plus the fieldstitle,slug,keyword,coverImageandcategory. - Overwrite by slug: the same
slugmust overwrite the existing post. SigoMark resends with the same slug when it retries after an error or when a video is attached later. - Images: if your site has the image API, SigoMark uploads each image there and replaces its link. Otherwise images keep their link on the SigoMark server.
- Categories: articles with a category carry the
categoryfield and acategory:front-matter line. - Response: your site returns
{ "id": "...", "url": "..." }. SigoMark storesurlas the published link.
Testing the connection
Open an approved article, click Publish now, then check the article's publish log. On failure, the log shows the HTTP status and your site's message.
For categories, open News categories and click Get categories from website.
Notes
- The API must be reachable from the internet and must not block the SigoMark server's IP.
- If your website has no API yet, a developer can build it from Website API, or contact support.
- Website publishing and social publishing are independent and can be switched on or off separately.