Skip to main content
POST
/
api
/
gsheet
/
proxy
Google Sheets Proxy
curl --request POST \
  --url https://dash.empirical.run/api/gsheet/proxy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "GET",
  "url": "<string>",
  "body": {}
}
'
{
  "data": null,
  "error": {
    "message": "<string>",
    "code": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key from the Empirical dashboard.

Body

application/json

Google API request to proxy.

method
enum<string>
required
Available options:
GET,
POST,
PUT,
PATCH,
DELETE
url
string
required
body
object

Response

JSON response from the Google API, wrapped in a data field.