List commented posts
curl --request GET \
--url https://api.social-api.ai/v1/inbox/comments \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/inbox/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/inbox/comments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"account_id": "<string>",
"comment_count": 123,
"content": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"like_count": 123,
"permalink": "<string>",
"platform": "app_store_connect",
"published_at": "2023-11-07T05:31:56Z",
"thumbnail": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "<string>",
"page_id": "<string>",
"platform_id": "<string>"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>"
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}Inbox Comments
List commented posts
Returns the connected accounts’ posts with their comment counts, newest published first. Add min_comments=1 to keep only posts that have comments. Filter by account, brand, platform, minimum comment count, and publish date. Uses cursor-based pagination.
GET
/
inbox
/
comments
List commented posts
curl --request GET \
--url https://api.social-api.ai/v1/inbox/comments \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/inbox/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/inbox/comments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"account_id": "<string>",
"comment_count": 123,
"content": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"like_count": 123,
"permalink": "<string>",
"platform": "app_store_connect",
"published_at": "2023-11-07T05:31:56Z",
"thumbnail": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "<string>",
"page_id": "<string>",
"platform_id": "<string>"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>"
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}