Publisher guide
For publishers who send articles to Opedd from their own website or content system.
On Substack, Beehiiv or Ghost? You don't need any of this: connect your publication in the dashboard and your articles arrive on their own.
Before you start
- An Opedd publisher account at opedd.com.
- Your website verified. During setup, verify it with a link sent to an email address at your domain, or with a DNS record. A DNS record is checked automatically in the background, and you can also press Check now. You can hand this step to your developer or IT team by inviting them as a team member.
- Your prices set and the Publisher Agreement signed, both in the dashboard.
Your publication is listed for buyers automatically once your website is verified, at least one article has arrived, at least one licence is switched on, and the agreement and rights attestation are signed.
Each publication also gets its own AI connector, https://<slug>.mcp.opedd.com, that your readers and client firms add to Claude, ChatGPT or Copilot. From the Distribution page you can invite a firm to a free trial or paid access for everyone at its email domain. An invitation lasts 30 days; a firm can have one open invitation at a time.
Prices and what you earn
You set a price for each licence you want to offer, and switch off the ones you don't:
| Licence | What the buyer gets | Price you set |
|---|---|---|
| AI answers | short cited passages from your articles when their AI answers a question | per article used in an answer |
| Subscription | your whole catalogue, old and new, readable inside their AI tools for their organisation while they pay; each reader can open 20 full articles a day, and the organisation 200, so it cannot be copied | per month |
| Full download + training | a full copy of everything you published up to the order date, with the right to train models on it; off until you switch it on and confirm you hold the training rights | once |
Buyers see your prices in licences on GET /publisher-directory and your public page. A buyer's order creates one Schedule for your publication, stating the licence and the price you had set at the time of sale.
Nothing is paid up front: Opedd is paid only when something sells, as a share of each sale set out in your Publisher Agreement.
Connect payouts early. Until you do, your earnings are held, up to $2,000.00. At that point your publication is paused: it is left out of AI answers and new orders until payouts are connected, and the dashboard says so. Pay-per-answer orders also skip publications with no payouts connected.
The Publisher Agreement you sign is in your dashboard. From code, with your dashboard sign-in: GET /legal-documents?kind=publisher_agreement, and GET /legal-documents?view=mine tells you when a newer version needs accepting (POST /legal-documents, owner only).
A website can belong to only one Opedd account. If someone at your organisation has already verified it, ask them to invite you to their team.
1. Create an API key
In the dashboard: Settings → For developers → Create key. A teammate you invited can create it after signing in.
Keys start with opedd_sk_. The key is shown once, so store it in your secret manager straight away. Keys that start with opedd_pub_ still work.
export OPEDD_KEY="opedd_sk_..."
2. Send articles
Up to 100 articles per request. Sending the same url again updates that article instead of creating a copy.
curl -X POST https://api.opedd.com/publishers-content \
-H "Authorization: Bearer $OPEDD_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: batch-2026-09-15-001" \
-d '{
"articles": [
{
"title": "What the Fed minutes mean for inflation",
"url": "https://example.com/2026/09/fed-minutes",
"html_body": "<p>The minutes show…</p>",
"published_at": "2026-09-15T08:00:00Z",
"author": "Jane Reporter",
"tags": ["economy", "inflation"]
}
]
}'
Every article gets its own result, so you always know what happened:
{
"success": true,
"data": {
"inserted_count": 1,
"total_submitted": 1,
"errors": [],
"articles": [
{ "url": "https://example.com/2026/09/fed-minutes", "status": "created", "id": "…", "word_count": 812, "content_hash": "…", "sections": 0, "error": null }
]
}
}
status is created, updated (the text changed), unchanged (identical to what we already have) or failed (see error).
Article fields
| Field | Required | Limit and notes |
|---|---|---|
title |
yes | up to 500 characters |
url |
yes | the article's web address on your own site; it identifies the article |
html_body |
yes | the full text as HTML, up to 200,000 characters |
published_at |
no | ISO-8601 date and time; defaults to when we receive it. Send the real date: buyers filter on it |
description |
no | up to 500 characters |
author |
no | up to 200 characters |
language |
no | a language code such as en |
tags |
no | up to 20, each up to 80 characters |
category |
no | free text |
image_urls |
no | up to 10 image addresses |
thumbnail_url |
no | cover image, https:// only |
canonical_url |
no | if different from url |
is_paid / audience |
no | whether the article is for paying readers; audience is everyone, only_free or only_paid |
sections |
no | the article split into parts: [{ "heading": "…", "content": "…" }], 1 to 100 sections, each up to 50,000 characters |
metadata |
no | any extra key-value data |
Any field not in this list rejects the whole batch, so test first (next step).
Retries: send an Idempotency-Key header. Repeating a request with the same key and body returns the first answer without writing twice; the same key with a different body is refused with 422.
Limit: 60 write requests an hour per key, each up to 100 articles: 6,000 articles an hour. A back catalogue of 20,000 articles takes about three and a half hours. Past the limit you get 429 with a Retry-After header (seconds) and a message saying how long to wait; nothing in that request was saved, so wait and send the same request again. To see how many articles we have, open Your articles in the dashboard, or read data.article_count from GET https://api.opedd.com/api?action=publisher&slug=<your-slug>.
3. Test a batch without saving it
curl -X POST "https://api.opedd.com/publishers-content?validate=true" \
-H "Authorization: Bearer $OPEDD_KEY" \
-H "Content-Type: application/json" \
-d @batch.json
Sending "dry_run": true in the body does the same. It runs every check, computes word count and content hash exactly as a real push would, and saves nothing. A problem names the field and the article, for example articles.3.html_body. 300 test runs per hour per key.
4. Read back what you stored
# most recently received first, with the text
curl "https://api.opedd.com/publishers-content?limit=20" -H "Authorization: Bearer $OPEDD_KEY"
# most recently PUBLISHED first (your newest article, whatever order you sent them in)
curl "https://api.opedd.com/publishers-content?order=published&limit=1&include_body=false" -H "Authorization: Bearer $OPEDD_KEY"
# one article
curl "https://api.opedd.com/publishers-content?id=<uuid>" -H "Authorization: Bearer $OPEDD_KEY"
# search your own articles
curl "https://api.opedd.com/publishers-content?search=inflation" -H "Authorization: Bearer $OPEDD_KEY"
Up to 20 per page with the text, or 50 with include_body=false. Follow data.pagination.next_cursor while has_more is true; a cursor works only with the order it came from. 600 reads per hour per key.
Who sees what:
| Reader | Where | Gets the text? |
|---|---|---|
| Anyone | GET /api?action=publisher_articles&slug=<your-slug> |
No: title, description, word count, prices |
| You | GET /publishers-content with your key |
Yes, exactly as licensed buyers receive it |
| A licensed buyer | GET /content-delivery |
Yes |
5. Withdraw an article
To take an article off the market, send "action": "revoke" with a reason. The reason is required, because it decides what happens to buyers who already paid.
Stop selling ("reason": "voluntary"): you no longer want to offer the article.
curl -X POST https://api.opedd.com/publishers-content \
-H "Authorization: Bearer $OPEDD_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "revoke", "reason": "voluntary", "urls": ["https://example.com/2026/09/fed-minutes"]}'
- New sales stop immediately.
- Buyers who already paid keep access until their licence ends.
- The answer lists
stopped,already_stopped_or_withdrawnandnot_found.
Withdraw for a rights problem ("reason": "rights"): you don't hold the rights to the article, for example after a legal claim.
curl -X POST https://api.opedd.com/publishers-content \
-H "Authorization: Bearer $OPEDD_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "revoke", "reason": "rights", "urls": ["https://example.com/2026/09/fed-minutes"]}'
- Sales stop immediately.
- Every buyer who fetches the article gets
410 CONTENT_REVOKED. Under clause 6.2 of the Standard Licence Terms (clause 8.2 in versions before 4.8) they must stop using it and delete their copies within 30 days; the answer gives that date indeletion_deadline. - Under the Standard Licence Terms, buyers are owed a refund of the part of their fee for that article.
- The answer lists
revoked,already_revokedandnot_found.
Past sales stay on record either way. Up to 100 addresses per call; sending the same address twice changes nothing. A revoke without reason is refused with 400.
6. Split long articles into sections (optional)
Sections let buyers fetch one part of a long article and make answers more precise. Either send sections with each article, or ask Opedd to split articles you already sent:
curl -X POST https://api.opedd.com/publishers-content \
-H "Authorization: Bearer $OPEDD_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "chunk", "urls": ["https://example.com/2026/09/fed-minutes"]}'
Each address comes back as chunked, already_sectioned (never split twice), no_body, not_found or failed. Nothing is split unless you ask.
7. Get notified when you sell
curl -X POST https://api.opedd.com/publishers-webhooks \
-H "Authorization: Bearer $OPEDD_KEY" \
-H "Content-Type: application/json" \
-d '{"action": "register", "url": "https://example.com/hooks/opedd", "event_types": ["license.paid", "license.issued"]}'
Events: license.paid, license.issued, license.revoked and license.expired. Each delivery's body is {event, data, timestamp}. The address must be https://. Optional platform: canonical (default), ghost or beehiiv.
The answer is the new webhook (id, url, event_types, active, signature_version, created_at) plus webhook_secret_plaintext, its signing secret (starts with whsec_). The secret is shown once: store it now.
Each delivery is a POST with these headers:
| Header | Value |
|---|---|
X-Opedd-Event |
the event, for example license.paid |
X-Opedd-Timestamp |
when it was sent, in Unix milliseconds |
X-Opedd-Webhook-Id |
the webhook's id |
X-Opedd-Signature |
sha256=<hex>, t=<timestamp> |
To check a delivery, compute an HMAC-SHA256 with your secret over the raw request body followed directly by the timestamp, and compare it with the hex in X-Opedd-Signature.
{"action": "list"}shows your webhooks.{"action": "test", "id": "…"}sends a test event now and tells you whether it arrived (delivered,status_code).{"action": "revoke", "id": "…"}removes one.
Limits per hour: 10 registrations, 600 lists, 30 tests and 30 removals.
Keep publishing
Once your back catalogue is in, send each new article when you publish it: the same request as step 2, one article at a time. Sending an article again when you edit it updates our copy (same url), so corrections reach buyers too.
WordPress. Your developer adds this to your theme's functions.php (or a small plugin), with your key in wp-config.php as define('OPEDD_KEY', 'opedd_sk_...');. Nothing on Opedd's side changes your site.
add_action('transition_post_status', function ($new_status, $old_status, $post) {
if ($new_status !== 'publish' || $post->post_type !== 'post') {
return;
}
$article = [
'title' => get_the_title($post),
'url' => get_permalink($post),
'html_body' => apply_filters('the_content', $post->post_content),
'published_at' => get_post_time('c', true, $post),
'author' => get_the_author_meta('display_name', $post->post_author),
];
wp_remote_post('https://api.opedd.com/publishers-content', [
'headers' => [
'Authorization' => 'Bearer ' . OPEDD_KEY,
'Content-Type' => 'application/json',
'Idempotency-Key' => 'wp-' . $post->ID . '-' . get_post_modified_time('U', true, $post),
],
'body' => wp_json_encode(['articles' => [$article]]),
'timeout' => 15,
]);
}, 10, 3);
Any other system. Call the step 2 request from whatever runs when you publish (a publish webhook, a build step, a scheduled job).
With an AI assistant (Claude Code, Cursor, ChatGPT with code): give it your key and this instruction, once a day or after you publish:
Using my Opedd key, read the newest article Opedd has from me (GET https://api.opedd.com/publishers-content?order=published&limit=1&include_body=false). Then send every article I have published since that date to POST https://api.opedd.com/publishers-content, up to 100 per request, with the full text as html_body and the real published_at. If the answer is 429, wait the number of seconds in Retry-After and send the same request again. Report how many were created, updated and unchanged.
Without writing code
- Upload a spreadsheet: the Import page in your dashboard takes a CSV of your articles.
- Use an AI assistant: with the MCP server and your key, ask "push my latest posts to Opedd" or "show me what buyers receive for my last article".
Errors
| Status | Meaning | What to do |
|---|---|---|
400 |
A field is missing, too long or not allowed | error.details.issues names the field and article; fix and resend |
401 |
Missing or invalid key | Check the Authorization: Bearer header, or create a new key |
422 |
Same Idempotency-Key, different body |
Use a new key for a new request |
429 |
Hourly limit reached | Wait and retry |
Questions: [email protected]