Post a comment
POST/api/v2/reviews
Post a comment
Request
- application/json
Body
required
review_id numberrequired
ID of the review you want to reply
parent_id number
The id of the parent comment you want to reply
Works only for Facebook comments, since it's possible to reply to a comment (depth max is 2). Google and TripAdvisor don't accept this behaviour.
content stringrequired
Content of your reply
Responses
- 201
- 400
- 401
- 403
- 404
This endpoint lets you reply to a given review.
- application/json
- Schema
- Example (from schema)
Schema
id number
Comment id
created date-time
Last update date (either on our platform or on Partner platform)
content string
Reply content
can_edit boolean
If the current user can or cannot edit a reply
Note: This applies on Facebook replies only. A reply left by an external user on Facebook cannot be edited.
review_id number
Review id
parent_id number
id of the parent comment
partner_id string
Review id on publisher
author_name string
The author name of the review.
Note: Replies don't have an author.
date date-time
Review update date
{
"id": 82938,
"created": "2019-09-01T13:12:35.256Z",
"content": "string",
"can_edit": true,
"review_id": 34,
"parent_id": 0,
"partner_id": "accounts/114063712393225091258/locations/74805271119400652054",
"author_name": "Castorche",
"date": "2017-08-01T17:15:54.256Z"
}
Loading...