---
title: "Create OAuth override credentials for an organization and source type."
method: PUT
path: "/organizations/{organizationId}/oauthCredentials"
tags: ["public_organizations", "public", "Organizations"]
---

# Create OAuth override credentials for an organization and source type.

`PUT /organizations/{organizationId}/oauthCredentials`

Create/update a set of OAuth credentials to override the Airbyte-provided OAuth credentials used for source/destination OAuth.
In order to determine what the credential configuration needs to be, please see the connector specification of the relevant source/destination.

## Path parameters

- `organizationId` string, UUID, required

## Request body

- OrganizationOAuthCredentialsRequest — POST body for creating/updating organization level OAuth credentials
  - `actorType` 'source' | 'destination', required — Whether you're setting this override for a source or destination
  - `name` string, required — The name of the source i.e. google-ads
  - `configuration` union, required — The values required to configure the source.
    - Airtable
      - `credentials` object
        - `client_id` string — The client ID of the Airtable developer application.
        - `client_secret` string — The client secret of the Airtable developer application.
    - AmazonAds
      - `client_id` string — The client ID of your Amazon Ads developer application. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens#retrieve-your-client-id-and-client-secret">docs</a> for more information.
      - `client_secret` string — The client secret of your Amazon Ads developer application. See the <a href="https://advertising.amazon.com/API/docs/en-us/get-started/generate-api-tokens#retrieve-your-client-id-and-client-secret">docs</a> for more information.
    - AmazonSellerPartner
      - `app_id` string — Your Amazon Application ID.
      - `lwa_app_id` string — Your Login with Amazon Client ID.
      - `lwa_client_secret` string — Your Login with Amazon Client Secret.
    - Asana
      - `credentials` object
        - `client_id` string
        - `client_secret` string
    - AzureBlobStorage
      - `credentials` object
        - `client_id` string — Client ID of your Microsoft developer application
        - `client_secret` string — Client Secret of your Microsoft developer application
    - BingAds
      - `client_id` string — The Client ID of your Microsoft Advertising developer application.
      - `client_secret` string — The Client Secret of your Microsoft Advertising developer application.
    - Drift
      - `credentials` object
        - `client_id` string — The Client ID of your Drift developer application.
        - `client_secret` string — The Client Secret of your Drift developer application.
    - FacebookMarketing
      - `credentials` object
        - `client_id` string — The Client Id for your OAuth app
        - `client_secret` string — The Client Secret for your OAuth app
    - unknown
    - Gcs
      - `credentials` object
        - `client_id` string — Client ID
        - `client_secret` string — Client Secret
    - Github
      - `credentials` object
        - `client_id` string — OAuth Client Id
        - `client_secret` string — OAuth Client secret
    - Gitlab
      - `credentials` object
        - `client_id` string — The API ID of the Gitlab developer application.
        - `client_secret` string — The API Secret the Gitlab developer application.
    - GoogleAds
      - `credentials` object
        - `client_id` string — The Client ID of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>.
        - `client_secret` string — The Client Secret of your Google Ads developer application. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>.
        - `developer_token` string — The Developer Token granted by Google to use their APIs. For detailed instructions on finding this value, refer to our <a href="https://docs.airbyte.com/integrations/sources/google-ads#setup-guide">documentation</a>.
    - GoogleAnalyticsDataApi
      - `credentials` object
        - `client_id` string — The Client ID of your Google Analytics developer application.
        - `client_secret` string — The Client Secret of your Google Analytics developer application.
    - GoogleDrive
      - `credentials` object
        - `client_id` string — Client ID for the Google Drive API
        - `client_secret` string — Client Secret for the Google Drive API
    - GoogleSearchConsole
      - `authorization` object
        - `client_id` string — The client ID of your Google Search Console developer application. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>.
        - `client_secret` string — The client secret of your Google Search Console developer application. Read more <a href="https://developers.google.com/webmaster-tools/v1/how-tos/authorizing">here</a>.
    - GoogleSheets
      - `credentials` object
        - `client_id` string — Enter your Google application's Client ID. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information.
        - `client_secret` string — Enter your Google application's Client Secret. See <a href='https://developers.google.com/identity/protocols/oauth2'>Google's documentation</a> for more information.
    - Hubspot
      - `credentials` object
        - `client_id` string — The Client ID of your HubSpot developer application. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this ID.
        - `client_secret` string — The client secret for your HubSpot developer application. See the <a href="https://legacydocs.hubspot.com/docs/methods/oauth2/oauth2-quickstart">Hubspot docs</a> if you need help finding this secret.
    - Instagram
      - `client_id` string — The Client ID for your Oauth application
      - `client_secret` string — The Client Secret for your Oauth application
    - unknown
    - LeverHiring
      - `credentials` object
        - `client_id` string — The Client ID of your Lever Hiring developer application.
        - `client_secret` string — The Client Secret of your Lever Hiring developer application.
    - LinkedinAds
      - `credentials` object
        - `client_id` string — The client ID of your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information.
        - `client_secret` string — The client secret of your developer application. Refer to our <a href='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information.
    - Mailchimp
      - `credentials` object
        - `client_id` string — The Client ID of your OAuth application.
        - `client_secret` string — The Client Secret of your OAuth application.
    - MicrosoftOnedrive
      - `credentials` object
        - `client_id` string — Client ID of your Microsoft developer application
        - `client_secret` string — Client Secret of your Microsoft developer application
    - MicrosoftSharepoint
      - `credentials` object
        - `client_id` string — Client ID of your Microsoft developer application
        - `client_secret` string — Client Secret of your Microsoft developer application
    - MicrosoftTeams
      - `credentials` object
        - `client_id` string — The Client ID of your Microsoft Teams developer application.
        - `client_secret` string — The Client Secret of your Microsoft Teams developer application.
    - Monday
      - `credentials` object
        - `client_id` string — The Client ID of your OAuth application.
        - `client_secret` string — The Client Secret of your OAuth application.
    - Notion
      - `credentials` object
        - `client_id` string — The Client ID of your Notion integration. See our <a href='https://docs.airbyte.com/integrations/sources/notion#step-2-set-permissions-and-acquire-authorization-credentials'>docs</a> for more information.
        - `client_secret` string — The Client Secret of your Notion integration. See our <a href='https://docs.airbyte.com/integrations/sources/notion#step-2-set-permissions-and-acquire-authorization-credentials'>docs</a> for more information.
    - Pinterest
      - `credentials` object
        - `client_id` string — The Client ID of your OAuth application
        - `client_secret` string — The Client Secret of your OAuth application.
    - RdStationMarketing
      - `authorization` object
        - `client_id` string — The Client ID of your RD Station developer application.
        - `client_secret` string — The Client Secret of your RD Station developer application
    - Salesforce
      - `client_id` string — Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client ID</a>
      - `client_secret` string — Enter your Salesforce developer application's <a href="https://developer.salesforce.com/forums/?id=9062I000000DLgbQAG">Client secret</a>
    - SharepointEnterprise
      - `credentials` object
        - `client_id` string — Client ID of your Microsoft developer application
        - `client_secret` string — Client Secret of your Microsoft developer application
    - Shopify
      - `credentials` object
        - `client_id` string — The Client ID of the Shopify developer application.
        - `client_secret` string — The Client Secret of the Shopify developer application.
    - Slack
      - `credentials` object
        - `client_id` string — Slack client_id. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this id.
        - `client_secret` string — Slack client_secret. See our <a href="https://docs.airbyte.com/integrations/sources/slack">docs</a> if you need help finding this secret.
    - Smartsheets
      - `credentials` object
        - `client_id` string — The API ID of the SmartSheets developer application.
        - `client_secret` string — The API Secret the SmartSheets developer application.
    - SnapchatMarketing
      - `client_id` string — The Client ID of your Snapchat developer application.
      - `client_secret` string — The Client Secret of your Snapchat developer application.
    - Surveymonkey
      - `credentials` object
        - `client_id` string — The Client ID of the SurveyMonkey developer application.
        - `client_secret` string — The Client Secret of the SurveyMonkey developer application.
    - Ticktick
      - `authorization` object
        - `client_id` string — The client ID of your Ticktick application. Read more <a href="https://developer.ticktick.com/api#/openapi?id=getting-started">here</a>.
        - `client_secret` string — The client secret of of your Ticktick application. application. Read more <a href="https://developer.ticktick.com/api#/openapi?id=getting-started">here</a>.
    - TiktokMarketing
      - `credentials` object
        - `app_id` string — The Developer Application App ID.
        - `secret` string — The Developer Application Secret.
    - unknown
    - Typeform
      - `credentials` object
        - `client_id` string — The Client ID of the Typeform developer application.
        - `client_secret` string — The Client Secret the Typeform developer application.
    - YoutubeAnalytics
      - `credentials` object
        - `client_id` string — The Client ID of your developer application
        - `client_secret` string — The client secret of your developer application
    - ZendeskSupport
      - `credentials` object
        - `client_id` string — The OAuth client's ID. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information.
        - `client_secret` string — The OAuth client secret. See <a href="https://docs.searchunify.com/Content/Content-Sources/Zendesk-Authentication-OAuth-Client-ID-Secret.htm#:~:text=Get%20Client%20ID%20and%20Client%20Secret&text=Go%20to%20OAuth%20Clients%20and,will%20be%20displayed%20only%20once.">this guide</a> for more information.
    - ZendeskTalk
      - `credentials` object
        - `client_id` string — Client ID
        - `client_secret` string — Client Secret

## Response `200`

OAuth credential override was successful.

## Other responses

- `400` — A field in the body has not been set appropriately.
- `403` — API key is invalid.

---

[API](https://skmtc.net/airbytehq/apis/airbyte-api.md) · [All operations](https://skmtc.net/airbytehq/apis/airbyte-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/airbytehq/airbyte-api/revisions/55ddc054e5b5/schema)
