RenewCMS is headless: it stores your content and your own code displays it. There are two ways in. Public read-only access lets a website read online articles. API keys let a script or service manage articles, media and users, and manage content types and entries, without the back-office.
Authorization: Bearer rcms_…. Requests act as the user who created the key, with that user's role as it is now. A key never has more rights than its creator. A route that needs a permission answers 403 "missing_permission" to a key whose creator's role lacks it.
rcms_ and are shown in full once, when you create them.
Manage API keys
/v1/system. Those routes answer 403 "This action needs a real session." An invalid, unknown, expired or revoked key answers 401, even on public routes, and so does a key whose user was deleted or unverified. Owner and admin routes answer 403 to a key whose creator is neither.Retry-After header.{{ p.t }}{{ p.t }}{{ p.t }}{{ e.cap }}{{ p.t }}body use paths like /static/uploadedImages/<uuid>.png. Prefix them with the base URL before rendering.?format=markdown, ?format=html or ?format=json to choose how body is returned. With json, body is the stored JSON structure. Articles have body_format: markdown by default.