Below are your API credentials for testing. View the Integration Guide for more info.
Domain: acorn-media.co.uk
Embed Code (HTML):
<div id="acorncms-posts" data-site-key="HRbXmWAB24KhOe5cXEk8ZNhdjLdjIQ12"></div>
<script src="https://cms.acorn-media.co.uk/api/v1/embed.js"></script>
Use this endpoint to fetch posts for your website:
GET /api/v1/sites/{API_KEY}/posts
Query Parameters:
- limit: Number of posts (default: 10)
- offset: Pagination offset (default: 0)
- tag: Filter by tag slug
Response:
{
"success": true,
"data": [
{
"id": 1,
"title": "Post Title",
"slug": "post-slug",
"excerpt": "Post excerpt...",
"content": "Full post content...",
"featured_image": "image_url",
"tags": ["tag1", "tag2"],
"published_at": "2025-01-01T12:00:00Z"
}
]
}