sheet2api logo Sign in

Documentation

Use Case Examples


How to format your Spreadsheet

For the Spreadsheet you're going to connect to sheet2api, the first row (1) must only contain column names.
All the other rows may contain data, in whatever format you'd like (symbols, numbers, dates, words, etc).

For example:

A B C D E
1 Name Favourite Thing Image
2 Bugs Bunny Carrots Bugs.png
3 Elmer Fudd Chasing Rabbits Elmer.png
4
Looney Tunes
The Simpsons
Sheet3

You may add multiple worksheets such as 'Looney Tunes', 'The Simpsons' to seperate different categories of data.
sheet2api will create an API endpoint for each of these automatically.


Making Requests

When you create your spreadsheet API, sheet2api will generate full examples for making requests to your API.

View Example API documentation

Client Libraries

Securing your API

Permisssions

By default when you create your API, all operations will be allowed: Read, Create, Update & Delete.

You may want to limit what's possible, for example only allow reading of data from your API.

To do this go to Your Account page, locate your Spreadsheet API from the list and click "Configure API".

Your Spreadsheets list in sheet2api account section

On the next page, under "API Permissions", adjust which operations you'd like enabled, and click "Save".

Webinars Spreadsheet API Configuration page

Authentication

If you have configured your API to require authentication then all requests will need to include an Authorization header.

The credentials are constructed like this:

The username and the password are combined with a colon (aladdin:opensesame).
The resulting string is base64 encoded (YWxhZGRpbjpvcGVuc2VzYW1l).
That string should when be included within the Authorization header:

Authorization: Basic YWxhZGRpbjpvcGVuc2VzYW1l