Documents

List the latest comment per document

List the most recent comment on each document in the entity, newest first. By default only documents owned by the authenticated user are included; set showall to true to widen the list to the whole entity, which for users who are not an admin or manager is limited to their own documents when the entity has security restrictions enabled.

Each entry carries the commenter's name, email and thumbnail, resolved from the document's recipients or from the entity's users. offset defaults to 0 and limit to 50; a negative offset or a limit of 0 or less returns an empty list.

get/v1/comments/latest

Request

  • Base URL: https://api.getaccept.com
  • URL: https://api.getaccept.com/v1/comments/latest
  • Auth: HTTP bearer

Query parameters

showallstring

Include the comments of every document in the entity.

offsetnumber

Start the list from record x until limit. Defaults to 0.

limitnumber

Maximum number of comments to return. Defaults to 50.

Response

The request succeeded.

idstring required

Id of the comment.

document_idstring required

Id of the document the comment was written on.

document_namestring required

Name of the document the comment was written on.

depthnumber required

Deprecated field, set to 1 when the comment replies to another comment and 0 otherwise.

selfnumber required

Whether an entity user wrote the comment rather than a recipient, as 1 or 0.

full_namestring required

Name of the person that wrote the comment, empty when neither a recipient nor a user could be resolved.

emailstring nullable required

Email address of the person that wrote the comment.

thumb_urlstring nullable required

Avatar of the person that wrote the comment.

textstring required

Text of the comment.

positionstring required

Deprecated position stored on older comments, which comments created through the API never set.

created_atstring nullable required

When the comment was written, in UTC.

Changes

No recorded changes to this operation across all 1 revision of this API.