Skip to content

Example 1

This example demonstrates how to create a Blog Article using the Post API endpoint.


Body Structure (form-data)

The request should be sent as form-data, including the required fields for the blog article.

alt text


Response Structure

{
    "message": "Successfully created Blog Article.",
    "payload": {
        "data": {
            "title": "Why Weekend Trips Are Good for Your Mental Health",
            "content": "You don’t need a long vacation to recharge. Short weekend trips can help reduce stress and improve your mood. Exploring a new town, spending time in nature, or simply taking a break from your normal routine gives your mind time to reset.\\r\\n\\r\\nEven a two-day getaway can increase creativity and motivation when you return home. The key is to disconnect from work and enjoy the experience without overplanning everything.",
            "published_date": "2026-05-10 14:23:00",
            "is_published": "0",
            "author_id": 1,
            "group_id": null,
            "updated_at": "2026-05-08T08:35:54.000000Z",
            "created_at": "2026-05-08T08:35:54.000000Z",
            "id": 6
        }
    }
}

Fields

Field Type
title Varchar
content Text Area
published_date Date Time
is_published Checkbox