Documentation
Keys

Keys

Returns an array with all column names. It's all the cells from the first row.

GET https://api.sheet2db.com/v1/{connection-id}/keys

Query Parameters

sheet string (Optional)

Specify the name of the sheet (tab) you wish to select within your Google Spreadsheet.


Example Request

curl -XGET 'https://api.sheet2db.com/v1/{connection-id}/keys'

Example Response

 
[
     "id",
    "name",
    "age",
    "comment"
]