curl --request GET \
--url https://api.social-api.ai/v1/inbox/comments \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
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": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"account_id": "<string>",
"comment_count": 123,
"content": "<string>",
"created_at": "<string>",
"id": "<string>",
"like_count": 123,
"page_id": "<string>",
"permalink": "<string>",
"platform": "<string>",
"platform_id": "<string>",
"published_at": "<string>",
"thumbnail": "<string>",
"updated_at": "<string>",
"user_id": "<string>"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>"
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}List commented posts
Returns inbox posts that have comments, ordered by most-recently-commented. Supports filtering by account, platform, minimum comment count, and date range. Uses cursor-based pagination. YouTube commented posts only appear when the request is scoped with account_id (they are absent from the unfiltered aggregate), and that list returns a single page (no cursor).
curl --request GET \
--url https://api.social-api.ai/v1/inbox/comments \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
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": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"account_id": "<string>",
"comment_count": 123,
"content": "<string>",
"created_at": "<string>",
"id": "<string>",
"like_count": 123,
"page_id": "<string>",
"permalink": "<string>",
"platform": "<string>",
"platform_id": "<string>",
"published_at": "<string>",
"thumbnail": "<string>",
"updated_at": "<string>",
"user_id": "<string>"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>"
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Authorizations
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Query Parameters
Filter by connected account ID
Filter by brand ID (returns only posts from accounts in this brand)
Filter by platform (instagram, facebook, threads, tiktok, youtube, twitter, bluesky, whatsapp)
Only return posts with at least this many comments (default 0)
Only return posts commented after this timestamp (RFC3339)
Sort field: date (default)
Sort direction: desc (default) or asc
Max results per page (default 25)
Pagination cursor from previous response