curl --request POST \
--url https://api.botpress.cloud/v1/tables/{table}/rows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-bot-id: <x-bot-id>' \
--data '
{
"rows": [
{}
],
"waitComputed": true
}
'{
"rows": [
{
"id": 123,
"computed": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"stale": [
"<string>"
],
"similarity": 123
}
],
"warnings": [
"<string>"
],
"errors": [
"<string>"
]
}Inserts one or multiple new rows into the specified table.
curl --request POST \
--url https://api.botpress.cloud/v1/tables/{table}/rows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-bot-id: <x-bot-id>' \
--data '
{
"rows": [
{}
],
"waitComputed": true
}
'{
"rows": [
{
"id": 123,
"computed": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"stale": [
"<string>"
],
"similarity": 123
}
],
"warnings": [
"<string>"
],
"errors": [
"<string>"
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bot id
Integration id
Integration alias
Integration name
User Id
User Role
The table's name or unique identifier for targeting specific table operations.
A batch of new rows to insert into the table. Each row must adhere to the table’s schema. A maximum of 1000 rows can be inserted in a single request.
A summary of the insertion operation, including any warnings or errors encountered, and the inserted row data.
Was this page helpful?