Use a dedicated read-and-write Articles API key on your backend. Call GET /api/articles/placements first to obtain the IDs for your own center and collection. The numbers below are examples.
Send POST /api/articles with the bearer key, JSON content type, and a body like this:
{
"action": "save",
"locale": "en",
"format": "markdown",
"title": "Find your order number",
"description": "Locate the reference in your confirmation email.",
"body": "Open your confirmation email and look for **Order number**.",
"placements": [{"centerId": 1, "collectionId": 7}]
}A successful creation returns HTTP 201. Save the returned id and revision. To publish that saved draft, send PATCH /api/articles/<id> with {"action":"publish","revision":1} using its actual current revision. The center must support the article’s locale. Open the published article from its collection and search for its title as a signed-out reader.
If the revision is stale, retrieve the article and reconcile edits before retrying. Track the returned ID so a later update uses PATCH on the same record.