---
title: "Changes to GetConnectorOAuthToken returns a user's OAuth access token for a connector in the calling deployment's project,\nrefreshing it first if it is about to expire.\nIt returns NotFound if the user has not authorized the connector's current OAuth configuration.\nIt can only be called by deployments."
method: POST
path: "/v1/deployments/-/connector-oauth-token"
---

# Changes to GetConnectorOAuthToken returns a user's OAuth access token for a connector in the calling deployment's project,
refreshing it first if it is about to expire.
It returns NotFound if the user has not authorized the connector's current OAuth configuration.
It can only be called by deployments.

`POST /v1/deployments/-/connector-oauth-token`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 70 revisions.

- **2026-10-21** (v1) `1b13259a2d7f`: 1 info

## Changes

- **2026-10-21** (v1) `1b13259a2d7f`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/rilldata/apis/rill-admin-api/docs/v1/deployments/-/connector-oauth-token/post.md) - [API](https://skmtc.dev/rilldata/apis/rill-admin-api.md) - [Page](https://skmtc.dev/rilldata/apis/rill-admin-api/changes/v1/deployments/-/connector-oauth-token/post)
