Quillyn

Docs

Payload

Paste a Payload CMS URL, users-collection API key, and collection slug, then Approve creates or updates the document. Documents arrive as drafts unless you turn on Publish on Approve.

Status: Proven. Approve creates or updates Payload documents on the owner’s live blogs (verified 2026-11-28; see the Proven destination table). Featured-image upload is still being fixed, so do not rely on it yet. A green connection test alone does not prove publishing.

Quillyn does not offer a Payload sign-in button in v1. You enable API keys on a users collection and paste the key. Each Quillyn site has its own Payload URL, key, collection, and draft-vs-publish default.

Prerequisites

  • A Payload CMS instance with REST enabled. The three marketing blogs serve REST at {origin}/blog/api (for example https://quillyn.com/blog/api/posts).
  • A user in the users collection with API keys enabled, and a copied API key.
  • A collection that matches the field names Quillyn writes (see below). Drafts need versions.drafts enabled.

Create the key in Payload

Checked against Payload’s API keys docs.

  1. In Payload Admin, open the users collection (or the auth collection you use).
  2. Enable API keys on that collection if they are not already on.
  3. Open a user that should publish, generate an API key, and copy it.
  4. Copy the blog URL including /blog, or the REST base. These all work:
    • https://quillyn.com/blog
    • https://quillyn.com/blog/api
    • https://quillyn.com/blog/admin Trailing /api and /admin are stripped; /blog is kept. A generic Payload origin without a prefix (https://cms.example.com) also works.

Quillyn sends Authorization: users API-Key {key} on every REST call (case-sensitive). Do not paste a JWT login token.

What to paste in Quillyn

  1. Sign in and open Sites.
  2. Open the site, then Publish (Where to publish).
  3. Choose Add a place to publish, then Payload.
  4. Payload URL — the blog origin including /blog, or {origin}/blog/api. https is required.
  5. API key — the users-collection API key. Quillyn encrypts it and does not show it again.
  6. Collection slug — default posts. Must match the collection in Payload.
  7. Leave Publish on Approve off unless you want remote documents published. New documents stay drafts by default.
  8. Choose Save and check.

Expected collection fields

Quillyn writes HTML into bodyHtml. It does not convert Markdown to Lexical rich text. The public blog sanitizes the HTML before render.

Field Payload type Notes
title text Required
slug text Unique lowercase kebab-case; used for upsert. Reserved: admin, api, page, sitemap.xml, rss.xml, robots.txt, healthz
excerpt textarea Required, max 320, plain text; also the meta description
bodyHtml textarea Required; HTML article body
publishedAt date Set when Publish on Approve is on
featuredImage upload → media Optional; media upload includes required alt. Skipped if upload fails
language select or text BCP-47 language tag. Quillyn sends en, ja, ko, zh (and other ISO 639-1 tags from the article or site locale) on create, update, and publish

Draft vs publish uses Payload _status (draft / published). Writes use ?draft=true. Publish on Approve then PATCHes the same id without draft=true.

Test the connection

  • On the site, choose Send test post. Success reads Test draft sent. Look for “Quillyn test” in drafts.
  • On Connections, choose Test connection. Success reads Payload REST API is reachable.

That check reads GET {api}/users/me. A published posts list is public, so it is not used as a credential check. HTTP 200 with user: null means the API key is wrong. It does not prove Approve.

Common errors

What you see Code What to do
payload URL is required / must use https validation_failed Include https://. Plain http is rejected.
payload URL host is not allowed validation_failed Use the public CMS host, not a local or metadata address.
apiKey is required validation_failed The key field was empty.
could not verify Payload REST API payload_verify_failed Recopy the API key, confirm {origin}/blog, and that REST is reachable. A public posts list is not enough — Quillyn checks /users/me.
payload API key rejected payload_invalid_credentials The key is missing, revoked, or for a different auth collection. Test connection moves the destination to needs reconnect.
Activate with a Payload API key first. payload_key_required Test connection has no stored key. Save the key first.
Payload REST API check failed — verify the URL, API key, and collection. (check not reachable) Test connection could not authenticate.

A 401 or 403 moves the connection to needs reconnect.

Revoke or rotate

  • In Payload Admin, regenerate or delete the user’s API key.
  • In Quillyn, open Connections and choose Clear API key.
  • Paste the new key on Sites and Save and check again.

Clearing the key in Quillyn does not delete the user in Payload.

All docs · Billing & cancellation · Sign in