Get comments
Gets the list of comments for a record in the table
- Parameters
- Advanced call ?
Function GetComments(Val Token, Val Base, Val Table, Val Record, Val Indent = "") Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Token | --token | String | ✔ | Token |
| Base | --base | String | ✔ | Database identifier |
| Table | --table | String | ✔ | Table identifier |
| Record | --record | String | ✔ | Record identifier in the table |
| Indent | --offset | String | ✖ | Next page identifier of data from the previous request |
Returns
Map Of KeyAndValue - serialized JSON response from Airtable
| Parameter | Description |
|---|---|
| proxy | InternetProxy or a structure with fields Protocol, Host, Port, User, Password, UseOSAuthentication |
| timeout | Request execution timeout |
| adv_response | Formats the response as a complete HTTP structure with fields code, body, and headers |
| retries | Number of HTTP request send attempts on 5** status codes or internal client errors |
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
Base = "appJiRrCJhRhnaVAo";
Table = "tblFGmvh2eldM8MuJ";
Record = "recuJsvpt9DG2SuEk";
Result = OPI_Airtable.GetComments(Token, Base, Table, Record);
- Bash
- CMD/Bat
oint airtable GetComments \
--token "***" \
--base "app86bmgLaVuoXh4T" \
--table "tblGKn3wdfOQGs7G3" \
--record "recrZOTQElXIhFTWo"
oint airtable GetComments ^
--token "***" ^
--base "app86bmgLaVuoXh4T" ^
--table "tblGKn3wdfOQGs7G3" ^
--record "recrZOTQElXIhFTWo"
Result
{
"comments": [
{
"id": "comhjicke3XjtJV74",
"author": {
"id": "usrFlaAHlTfYWAbVW",
"email": "bayselonarrend@gmail.com",
"name": "Антон Титовец"
},
"text": "Test comment (change.)",
"createdTime": "2026-05-26T14:07:29Z",
"lastUpdatedTime": "2026-05-26T14:07:30Z"
}
],
"offset": null
}