List comments on a post
curl --request GET \
--url https://api.social-api.ai/v1/inbox/comments/{post_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/inbox/comments/{post_id}', 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/{post_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"author_id": "<string>",
"author_name": "<string>",
"author_picture": "<string>",
"author_username": "<string>",
"capabilities": {
"can_delete": true,
"can_hide": true,
"can_like": true,
"can_private_reply": true,
"can_reply": true
},
"created_at": "2023-11-07T05:31:56Z",
"has_replies": true,
"id": "sapi_cmt_TT974YVQH4RAHNN2HY2DJSNY9111D7LMTP1XXPCVQVL",
"is_hidden": true,
"is_owner": true,
"like_count": 123,
"liked_by_viewer": true,
"parent_id": "<string>",
"platform": "app_store_connect",
"platform_id": "<string>",
"reply_count": 123,
"text": "<string>",
"author_headline": "<string>",
"author_profile_url": "<string>",
"moderation_status": "<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"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}Inbox Comments
List comments on a post
Returns comments for a specific inbox post, including per-platform capability flags (can_reply, can_delete, can_hide, can_like, can_private_reply). Uses cursor-based pagination.
GET
/
inbox
/
comments
/
{post_id}
List comments on a post
curl --request GET \
--url https://api.social-api.ai/v1/inbox/comments/{post_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/inbox/comments/{post_id}', 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/{post_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"author_id": "<string>",
"author_name": "<string>",
"author_picture": "<string>",
"author_username": "<string>",
"capabilities": {
"can_delete": true,
"can_hide": true,
"can_like": true,
"can_private_reply": true,
"can_reply": true
},
"created_at": "2023-11-07T05:31:56Z",
"has_replies": true,
"id": "sapi_cmt_TT974YVQH4RAHNN2HY2DJSNY9111D7LMTP1XXPCVQVL",
"is_hidden": true,
"is_owner": true,
"like_count": 123,
"liked_by_viewer": true,
"parent_id": "<string>",
"platform": "app_store_connect",
"platform_id": "<string>",
"reply_count": 123,
"text": "<string>",
"author_headline": "<string>",
"author_profile_url": "<string>",
"moderation_status": "<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"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}