# API: Get news list

# getNews

Get list of news created in system

# Optional parameters

Parameter Description
page Which page to return
brand_id If multibrand module is enabled, specify brand id to limit results to given brand

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getNews

# PHP Samples

# Response

{
    "success": true,
    "news": [
        {
            "id": "4",
            "title": "Lorem Ipsum",
            "content": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\r\n tempor incididunt ut labore et dolore magna ...",
            "enable": "0",
            "date": "2011-09-29"
        }
    ],
    "call": "getNews",
    "server_time": 1317712600
}
Last Updated: 7/10/2023, 2:30:05 PM