Quillyn

Docs

Public API

Org API tokens (qyn_live_…) for https://api.quillyn.com/api/public/v1 — read sites and jobs, create drafts, Approve with jobs:approve.

Base URL: https://api.quillyn.com/api/public/v1

OpenAPI: GET /api/public/v1/openapi.json

Auth

  • REST: Authorization: Bearer qyn_live_…
  • Create tokens in the app under Settings → Developer (owners). The secret is shown once.
  • Clerk session JWTs are not accepted on public routes.
  • Public tokens are not accepted on /api/v1 SPA routes.

A qyn_live_… token is permanently bound to the organization that minted it. Switching the SPA active workspace does not change what the token can see.

Quick curl

export QUILLYN_API_TOKEN=qyn_live_…
curl -sS -H "Authorization: Bearer $QUILLYN_API_TOKEN" \
  https://api.quillyn.com/api/public/v1/me

Create a job (async; Idempotency-Key required):

curl -sS -X POST \
  -H "Authorization: Bearer $QUILLYN_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"topic":"How indie SaaS ships SEO content"}' \
  https://api.quillyn.com/api/public/v1/sites/$SITE_ID/jobs

Poll GET /jobs/{id} until needs_review, then Approve with a token that includes jobs:approve:

curl -sS -X POST \
  -H "Authorization: Bearer $QUILLYN_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{}' \
  https://api.quillyn.com/api/public/v1/jobs/$JOB_ID/approve

Surface (summary)

Read (examples): /me, /sites, /jobs, /articles/{id}, /openapi.json with scopes such as sites:read, jobs:read, keywords:read, briefs:read.

Write (examples): create keywords/briefs/jobs, reject, SEO rescore/optimize, and POST /jobs/{id}/approve with jobs:approve.

Event webhooks: manage endpoints under /webhooks with webhooks:manage, or in Settings → Developer. Outbound POSTs use X-Quillyn-Signature (HMAC-SHA256).

Create job bodies accept exactly one of topic, keywordId, pageUrl, or youtubeUrl.

Privacy

Do not put API tokens, connection secrets, or encryption keys in public docs, tickets, or blog posts. Rotate a token from Settings → Developer if it leaks.

All docs · Billing & cancellation · Sign in