Create comment
Creates a comment for a record in the table
- Parameters
- Advanced call ?
Function CreateComment(Val Token, Val Base, Val Table, Val Record, Val Text) 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 |
| Text | --text | String | ✔ | Comment text |
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";
Text = "TestComment";
Result = OPI_Airtable.CreateComment(Token, Base, Table, Record, Text);
- Bash
- CMD/Bat
oint airtable CreateComment \
--token "***" \
--base "app86bmgLaVuoXh4T" \
--table "tblGKn3wdfOQGs7G3" \
--record "recrZOTQElXIhFTWo" \
--text "TestComment"
oint airtable CreateComment ^
--token "***" ^
--base "app86bmgLaVuoXh4T" ^
--table "tblGKn3wdfOQGs7G3" ^
--record "recrZOTQElXIhFTWo" ^
--text "TestComment"
Result
{
"id": "comhjicke3XjtJV74",
"author": {
"id": "usrFlaAHlTfYWAbVW",
"email": "bayselonarrend@gmail.com",
"name": "Антон Титовец"
},
"text": "TestComment",
"createdTime": "2026-05-26T14:07:28.72Z",
"lastUpdatedTime": null
}