Authentication

SheetDB do not require authentication to use our API however if you want to add an extra layer of security you can enable it. SheetDB offers two ways to authenticate your API requests: Bearer token and Basic authentication.


Bearer token

We recommend to authenticate with Bearer token. You will need your access token — each API has a separate and unique token. You can find it in the settings tab of your API.

GET
/api/v1/{API_ID}
curl https://sheetdb.io/api/v1/58f61be4dda40 \
  -H "Authorization: Bearer {token}"

Basic authentication

With basic authentication, you use username and password to authenticate your HTTP requests. The username and password are different for each API, you can find them in the settings tab of your API.

GET
/api/v1/{API_ID}
curl https://sheetdb.io/api/v1/58f61be4dda40 \
    -u username:password