Skip to main content

List Content

GET
/marketing/content
List all content items for the current organization.
Response
[
  {
    "id": "content_abc123",
    "title": "Getting Started with Hiveku",
    "status": "published",
    "author": "user_xyz",
    "createdAt": "2025-03-15T10:00:00Z",
    "updatedAt": "2025-03-16T14:30:00Z"
  }
]

Create Content

POST
/marketing/content
Create a new content item.
Request Body
{
  "title": "New Blog Post",
  "body": "Content body in rich text...",
  "status": "draft",
  "tags": ["blog", "tutorial"]
}

Get Content

GET
/marketing/content/{id}
Get a specific content item by ID.

Update Content

PATCH
/marketing/content/{id}
Update a content item.

Content Comments

List Comments

GET
/marketing/content/{id}/comments
Get all comments on a content item.

Add Comment

POST
/marketing/content/{id}/comments
Add a comment to a content item.

Content Reviews

GET
/marketing/content/{id}/reviews
Get review status and history for a content item.
POST
/marketing/content/{id}/reviews
Submit a review (approve or request changes).

Version History

GET
/marketing/content/{id}/versions
List all versions of a content item.

Image Upload

POST
/marketing/content/{id}/upload-image
Upload an image to attach to a content item.
DELETE
/marketing/content/{id}/delete-image
Remove an image from a content item.