API Test Information

Below are your API credentials for testing. View the Integration Guide for more info.

Acorn-Media

Domain: acorn-media.co.uk

Active

API Key:

JSON API Endpoint (Get Posts):

Site Statistics:

Total Posts

12

Published

11

Draft

0

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>

API Integration Example

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"
    }
  ]
}