Developer & API Integrations
WORKINGComments
Query, moderate, and reply to inbound comments on published Instagram and Facebook posts via API.
## Comments API Reference
Automate social audience engagement, reply to incoming comments, and trigger conversational marketing flows.
### Endpoints
- **List Comments:** `GET /v1/comments?postId=<POST_ID>&limit=50`
- **Get Comment Thread:** `GET /v1/comments/:commentId`
- **Post Reply:** `POST /v1/comments`
### Request Example: Post Public Reply
```bash
curl -X POST https://app.eserai.tech/v1/comments \
-H "Authorization: Bearer YOUR_ESER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"postId": "post_live_789",
"parentCommentId": "cmt_inbound_456",
"text": "Thanks for checking it out! DM sent with the full template link 🚀"
}'
```
Was this article helpful?
Reach ESER TECH support for assistance with account setup or API integration.