Get Posts
Retrieve a list of posts based on filter criteria.
POST
/
social-media-posting
/
{locationId}
/
posts
/
list
Get Posts
curl --request POST \
--url https://services.leadconnectorhq.com/social-media-posting/{locationId}/posts/list \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"skip": 0,
"limit": 20,
"fromDate": "2023-11-07T05:31:56Z",
"toDate": "2023-11-07T05:31:56Z"
}
'const options = {
method: 'POST',
headers: {
Authorization: '<authorization>',
Version: '<version>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
skip: 0,
limit: 20,
fromDate: '2023-11-07T05:31:56Z',
toDate: '2023-11-07T05:31:56Z'
})
};
fetch('https://services.leadconnectorhq.com/social-media-posting/{locationId}/posts/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/social-media-posting/{locationId}/posts/list"
payload = {
"skip": 0,
"limit": 20,
"fromDate": "2023-11-07T05:31:56Z",
"toDate": "2023-11-07T05:31:56Z"
}
headers = {
"Authorization": "<authorization>",
"Version": "<version>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Last modified on March 8, 2026
Was this page helpful?
Get Posts
curl --request POST \
--url https://services.leadconnectorhq.com/social-media-posting/{locationId}/posts/list \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"skip": 0,
"limit": 20,
"fromDate": "2023-11-07T05:31:56Z",
"toDate": "2023-11-07T05:31:56Z"
}
'const options = {
method: 'POST',
headers: {
Authorization: '<authorization>',
Version: '<version>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
skip: 0,
limit: 20,
fromDate: '2023-11-07T05:31:56Z',
toDate: '2023-11-07T05:31:56Z'
})
};
fetch('https://services.leadconnectorhq.com/social-media-posting/{locationId}/posts/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/social-media-posting/{locationId}/posts/list"
payload = {
"skip": 0,
"limit": 20,
"fromDate": "2023-11-07T05:31:56Z",
"toDate": "2023-11-07T05:31:56Z"
}
headers = {
"Authorization": "<authorization>",
"Version": "<version>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)