Ingest Webhook

A partner posts articles to a url. They arrive as articles.

Create a Source

Create a source in the console. Give it a name. Tick the sites the articles land on.

Copper CMS issues a url. Hand it over unchanged.

POST https://api.coppercms.com/v1/hook/8f2c…c1a9.k3Rd…
content-type: application/json

{
  "id": "post-1041",
  "title": "A post from the partner",
  "body": "<p>The body of the post.</p>",
  "slug": "a-post-from-the-partner",
  "excerpt": "One line of summary.",
  "author": "Jane Doe",
  "tags": ["news"],
  "publishedAt": "2026-01-09T09:00:00Z"
}

There is nothing to sign. There is no key to send. The url is the credential.

Field Names

A new source expects these names.

SendBecomesRequired
titleThe headlineYes
bodyThe article as HTMLNo
idThe id the partner already usesNo
slugThe url path of the postNo
excerptThe summaryNo
authorThe bylineNo
tagsTagsNo
publishedAtThe publication timeNo

Only the title is required. A payload that produces no title answers 400.

A slug is used exactly as sent. The article keeps the url it already has. A slug with a slash, a space or a capital is not a path we can serve. It falls back to the title. A slug already taken on that site takes a numbered suffix.

Sending a different slug for an article that is not live yet moves it. A live article keeps the url it has. The slug that was sent is recorded on the pending revision for a person to decide on. Readers and search engines already hold a live url, and the redirect for a moved one belongs to the site serving it.

publishedAt may be any date, including one in the past. An archive keeps the dates it already has. A later send of the same article corrects it until the article is published.

Different Field Names

A partner can keep the names already in use.

Ask the partner to send an article. The source page shows the fields that arrived. It guesses which field is which. Correct any of it.

Save the mapping. The next article the partner sends lands under it.

The article used for this is a sample. It does not become an article.

Nested fields work. A path like media.thumbnail.url reads that field. A path like categories[*].name collects every name in a list.

Cover Image

A cover is sent beside the article and not inside the body, as coverImage.url. A partner that sends it under another name maps it on the source page.

The cover and every image in the body, linked or sent inline as a data: url, are copied to Copper CMS when the article arrives. See Images.

The Response

200 OK

{ "data": {
    "id": "7d2a…",
    "created": true,
    "unrouted": false,
    "pendingRevision": false
} }
FieldMeaning
idThe article in Copper CMS.
createdTrue for a new article. False for one that already existed.
unroutedTrue if the article arrived with nowhere to go. It is held.
pendingRevisionTrue if the article was already live and the change waits for review.

A new article answers 200. A re-send answers 200. A partner never has to read the status code to know the article arrived.

Sending the Same Article Again

An article is matched on the id the partner sends. Sending it again updates the article. It does not make a second copy.

An article that is already live is updated through review. The send is held as a pending revision. The live article is untouched until somebody approves it in the dashboard. Approving replaces the article with the send: the excerpt, the body, the cover, the author, the tags and the date. A field the send leaves out is cleared: a send with no cover removes the cover. A send with no title, body or date keeps the one the article has. The article stays published.

A slug sent with it is held the same way. Approving a revision whose slug differs unpublishes the article, renames it and publishes it again. A subscriber is told the url moved.

Only the newest send is reviewed. Approving it retires the ones before it.

A source whose updated article routing is set to approve and publish automatically skips the review. The send is applied as it arrives, slug included.

Sending a deleted article again restores it.

Updating an Article by Id

An article can also be named by the id Copper CMS gave it, the one in the response.

PUT https://api.coppercms.com/v1/hook/8f2c…c1a9.k3Rd…/7d2a…
content-type: application/json

{
  "title": "A corrected title",
  "body": "<p>The corrected body.</p>"
}

The body is the same as a send. The answer is the same as a send, with created always false.

It only ever updates. An unknown id answers 404. So does an article in the trash, and an article the source cannot reach. Nothing is created.

The update is applied the way a re-send is. An article that is not live yet is updated in place. A live article gets a pending revision, applied at once when the sending source sets updated article routing to approve and publish automatically.

The article stays on the sites it is on. An update by id adds no sites, and sites named in the body are ignored. It does not count toward the monthly ingest limit.

The article keeps the source that sent it. That source still updates it by the id it sends. An id in the body of an update by id is ignored.

Access

Access is set on the source page.

AccessReaches
LimitedOnly the articles this source sent. The default.
FullEvery article in the account, articles written in the console included.

Access decides which articles an update by id and a delete can reach. A Full url can rewrite or delete any article in the account. Treat it like a password.

Deleting an Article

A partner deletes an article with the id from the response.

DELETE https://api.coppercms.com/v1/hook/8f2c…c1a9.k3Rd…/7d2a…
200 OK

{ "data": { "id": "7d2a…" } }

The article goes to the trash. It can be restored in the console for 30 days. A live article comes off every site it was on. Subscribers are sent post.unpublished.

A source with Limited access can delete only the articles it sent. A source with Full access can delete any article in the account. Any other id answers 404. So does an article already in the trash.

Routing

Articles land on the sites set on the source. A payload can name sites instead.

An article that cannot be routed anywhere goes to Unrouted in the console. It can be sent to a site by hand.

Size

Largest Request Body1 MB

A larger body answers 413. The body is dropped once the limit is passed.

When an Article Is Refused

A refused article is kept. The most recent failure for each source is held. Look at the fields that arrived and fix the mapping.

See Errors.