---
title: "Sets instancewide variables to be used for the oauth flow when creating this destination. When set, these variables will be injected into a connector's configuration before any interaction with the connector image itself. This enables running oauth flows with consistent variables e.g: the company's Google Ads developer_token, client_id, and client_secret without the user having to know about these variables."
method: POST
path: "/v1/destination_oauths/oauth_params/create"
tags: ["destination_oauth"]
---

# Sets instancewide variables to be used for the oauth flow when creating this destination. When set, these variables will be injected into a connector's configuration before any interaction with the connector image itself. This enables running oauth flows with consistent variables e.g: the company's Google Ads developer_token, client_id, and client_secret without the user having to know about these variables.

`POST /v1/destination_oauths/oauth_params/create`

## Request body

- SetInstancewideDestinationOauthParamsRequestBody
  - `destinationDefinitionId` string, uuid, required
  - `params` object, required

## Response `200`

Successful

## Other responses

- `400` — Exception occurred; see message for details.
- `404` — Object with given id was not found.

---

[API](https://skmtc.net/airbyte/apis/config.md) · [All operations](https://skmtc.net/airbyte/apis/config/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/airbyte/config/versions/ce48e08e02ec/schema)
