Skip to main content

Add Data to Worksheet

To add data to a worksheet, you need the following 3 parameters:

  • 1.Token
  • 2.Worksheet Id
  • 3.App Id

How to get the token

POST

https://api.tablesprint.com/api/platform/worksheet/row/{appId}/{worksheetId}

URL Parameters​

ParameterTypeRequiredDescription
appIdstringYesThe unique identifier of the application
worksheetIdstringYesThe unique identifier of the worksheet

To get the URL parameters, follow the steps below:

  • 1.Click on the downward arrow beside the worksheet name.
  • 2.An options dialog box will open. Click on More Info. image

  • 3.You will now get the worksheetId and appId. image

Request Body Parameters​

ParameterTypeRequiredDescription
bodyobjectYesA row object representing the new record to be created.

Example:

"data": [
{
"columnName1": "Product A",
"columnName2": "20",
"columnName3": "In Stock"
}
],

Example Request:​

Here's an example of how to make this request:

curl --request POST   --url https://api.tablesprint.com/api/platform/worksheet/row/app123/worksheet456   --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'   --header 'Content-Type: application/json'   --data-raw '{
"data": [
{
"feedback": "Test Feedback 2",
"student mobile": "+917077038913",
"time": "2025-01-02T11:33:00.000Z"
}
]
}'

Request Headers

HeaderValue
AuthorizationBearer YOUR_ACCESS_TOKEN
Content-Typeapplication/json

Response​

A successful request returns the HTTP 200 OK status code and JSON response body.

In case if you get other response codes then : Refer here

{
"results": [
{
"hggffj": "newValue",
"Dropdown": null,
"richtext": null,
"Contact2": null,
"Contact": null,
"dasfa": null,
"pn germany": "49",
"email": null,
"dropdowm": null,
"IndianPhone": null,
"_id": "317e589400"
}
],
"success": true
}

Response Headers

HeaderDescription
Content-Typeapplication/json

Add Data Playground​