---
title: "POST /v3/connections/google-docs/token"
method: POST
path: "/v3/connections/google-docs/token"
tags: ["connections"]
---

# POST /v3/connections/google-docs/token

`POST /v3/connections/google-docs/token`

Get a valid Google access token for a connected Google account. Automatically refreshes the token if expired.

## Request body

- object
  - `email` string, required — The Google account email

## Response `200`

Default Response

- object
  - `access_token` string, required — A valid Google access token
  - `granted_scopes` string[] — The scopes granted by the user during OAuth (may be a subset of requested scopes)

## Other responses

- `404` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/val-town/apis/val-town-api.md) · [All operations](https://skmtc.net/val-town/apis/val-town-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/val-town/val-town-api/revisions/4d8b6d2e6db3/schema)
