foreignId
. Optionally returns the parent comment if it exists and withParent=true
is passed. This is useful when using a custom identifier set by the client, instead of the internal comment ID.
Query Parameters
The external reference ID used to identify a comment
If
true
, includes the parent comment in the responseResponse
Parent comment object (null if no parent or
withParent
not set)Error Responses
Missing or Invalid Foreign ID - 400 Bad Request
Missing or Invalid Foreign ID - 400 Bad Request
Not Found - 404 Not Found
Not Found - 404 Not Found
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
Notes
- Requires a valid
foreignId
to locate the comment. - Set
withParent=true
to include the parent comment. - Returns
parentComment: null
if there is no parent or it’s not requested.