Returns a list of comments for the record from newest to oldest.
Note: Comments in reply to another comment (where parentCommentId
is set) may not have their parent comment in the same page of results and vice versa.
Press shift + S to search API reference.
https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}/comments
Returns a list of comments for the record from newest to oldest.
Note: Comments in reply to another comment (where parentCommentId
is set) may not have their parent comment in the same page of results and vice versa.
Authentication | Personal access token, OAuth integration |
Scope | data.recordComments:read |
User role | Base read-only |
Billing plans | All plans |
optional< number > If specified, this will determine the number of comments to return. Must be less than or equal to 100. Default is 100. | |
optional< string > A pointer to a specific comment. If specified, the returned comments will begin at the specified offset. An offset to the next set of comments will be provided by the API if the number of returned comments exceed the pageSize. |
string | null | |||||||||||||||||||||||||||||||||||||
array of the below object
|
$curl "https://api.airtable.com/v0/{baseId}/{tableIdOrName}/{recordId}/comments" \-H "Authorization: Bearer YOUR_TOKEN"
{"comments": [{"author": {"email": "foo@bar.com","id": "usrL2PNC5o3H4lBEi","name": "Foo Bar"},"createdTime": "2021-03-01T09:00:00.000Z","id": "comB5z37Mg9zaEPw6","lastUpdatedTime": null,"text": "Hello, world!"},{"author": {"email": "foo@bam.com","id": "usrsOEchC9xuwRgKk","name": "Foo Bam"},"createdTime": "2021-03-01T10:00:00.000Z","id": "comeNPu0X9K4Rxzid","lastUpdatedTime": null,"mentioned": {"usrL2PNC5o3H4lBEi": {"displayName": "Foo Bar","email": "foo@bar.com","id": "usrL2PNC5o3H4lBEi","type": "user"}},"parentCommentId": "comB5z37Mg9zaEPw6","text": "Hello world! Hello @[usrL2PNC5o3H4lBEi]"}],"offset": null}