Skip to main content

API Dashboard

API Endpoints

GET /sheet1

Retrieve all rows from Sheet1

Response Format

{
  "sheet1S": [
    {
      "id": 1,
      "name": "Test User",
      "email": "test@example.com",
      "status": "active"
    }
  ]
}
POST /sheet1

Add a new row to Sheet1

Request Body

{
  "sheet1": {
    "name": "Test User",
    "email": "test@example.com",
    "status": "active"
  }
}
PUT /sheet1/:id

Update an existing row

DELETE /sheet1/:id

Delete a row

Test Results

Status code is 200 Passed
Response is JSON Passed
Response has sheet1S array Passed

Request Builder

Please enter a valid URL

Response

Response Viewer

200 OK 156ms
// Response
{
    "sheet1S": [
        {
            "id": 1,
            "name": "Test User",
            "email": "test@example.com",
            "status": "active"
        },
        {
            "id": 2,
            "name": "Updated User",
            "email": "updated@example.com",
            "status": "updated"
        }
    ]
}

Test Results

12 Passed 0 Failed

Get All Rows

3/3 passed
Status code is 200
Response is JSON
Response has sheet1S array

Add New Row

3/3 passed
Status code is 200 or 201
Response is JSON
Response has sheet1 object

Test History

Last Run:
All Tests Passed 156ms

Environment Variables

Variable History

lastCreatedRowId updated
baseUrl added

Introduction

Sheety API Collection provides endpoints for managing data in Google Sheets through RESTful APIs. This documentation covers all available endpoints and their usage.

Authentication

Authentication is handled through API keys in the request headers.

Authorization: Bearer YOUR_API_KEY

Endpoints

GET /sheet1

Retrieve all rows from Sheet1

Response Example:

{
    "sheet1S": [
        {
            "id": 1,
            "name": "Test User",
            "email": "test@example.com",
            "status": "active"
        }
    ]
}
POST /sheet1

Add a new row to Sheet1

Request Body:

{
    "sheet1": {
        "name": "Test User",
        "email": "test@example.com",
        "status": "active"
    }
}
PUT /sheet1/:id

Update an existing row in Sheet1

DELETE /sheet1/:id

Delete a row from Sheet1

Test Scripts

Example test script for verifying API responses:

pm.test("Status code is 200", function () {
    pm.response.to.have.status(200);
});

pm.test("Response is JSON", function () {
    pm.response.to.be.json;
});

pm.test("Response has sheet1S array", function () {
    const responseData = pm.response.json();
    pm.expect(responseData).to.have.property('sheet1S');
    pm.expect(responseData.sheet1S).to.be.an('array');
});

Settings

API Configuration

Enter the base URL for API endpoints
Your API authentication key

Request Settings

Follow Redirects

Test Settings

Auto-run Tests
Stop on First Failure

Theme Settings