Skip to main content

GET list page

Version: 1.0

Introduction

This API will help you get information of pages which were connected to the shop.


Request URI

  • GET https://apis.harasocial.com/social/pages.json

Example Request

curl -X 'GET' \
'https://apis.harasocial.com/social/pages.json' \
-H 'accept: */*' \
-H 'Authorization: Bearer {token}'
Response
{
"data": [
{
"channel": "facebook",
"page_id": "500725830264111",
"page_name": "Page A",
"last_used": "2022-08-25T12:13:17.943Z"
},
{
"channel": "zalo",
"page_id": "2470311241169575111",
"page_name": "OA Zalo A",
"last_used": "2022-08-25T04:57:48.823Z"
}
],
"has_error": false,
"error_code": null,
"error_message": null
}

The Page resource

Example
{
"channel": "facebook",
"page_id": "500725830264111",
"page_name": "Page A",
"last_used": "2022-08-25T12:13:17.943Z"
}

Properties


channel: string

"channel": "facebook"

Channel which the page belong to. Can be zalo, facebook, instagram


page_id: string

"page_id": "500725830264111"

Page Id of the page


page_name: string

"page_name": "Page A"

Name of the page


last_used: datetime

"last_used": "2022-08-25T12:13:17.943Z"

Indicated the last time this page was accessed by an agent