---
title: "PUT /v1/account/app/credentials"
method: PUT
path: "/v1/account/app/credentials"
tags: ["account"]
---

# PUT /v1/account/app/credentials

`PUT /v1/account/app/credentials`

## Request

- Base URL: `https://api.thebridge.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebridge.dev/v1/account/app/credentials`
- Auth: none declared

## Request body

- UpdateCredentialsRequestDto
  - `stripeSecretKey` string: Stripe integration
  - `stripePublicKey` string: Stripe integration
  - `microsoftAzureMarketplaceClientId` string: Microsoft Azure Marketplace integration App
  - `microsoftAzureMarketplaceClientSecret` string: Microsoft Azure Marketplace integration App
  - `microsoftAzureMarketplaceTenantId` string: Microsoft Azure Marketplace integration App
  - `googleClientId` string: Google social login
  - `googleClientSecret` string: Google social login
  - `linkedinClientId` string: LinkedIn social login
  - `linkedinClientSecret` string: linkedin social login
  - `githubClientId` string: Gitlab social login
  - `githubClientSecret` string: Gitlab social login
  - `facebookClientId` string: Facebook social login
  - `facebookClientSecret` string: Facebook social login
  - `microsoftAzureADClientId` string: MS Azure AD SSO
  - `microsoftAzureADClientSecret` string: MS Azure AD SSO
  - `microsoftAzureADTenantId` string: MS Azure AD SSO
  - `appleClientId` string: Apple social login
  - `appleTeamId` string: Apple social login
  - `appleKeyId` string: Apple social login
  - `applePrivateKey` string: Apple social login

## Response `200`

- GetCredentialsStateResponseDto
  - `stripeCredentialsAdded` boolean, required
  - `stripeWebhookConfigured` boolean, required: True when Bridge holds the signing secret for the app's Stripe webhook endpoint. Without it Stripe events (subscription changes, payment failures, cancellations) are rejected and do not sync.
  - `stripeWebhookEventsStale` boolean, required: True when the app's Stripe webhook endpoint is subscribed to an event list older than the one Bridge acts on, so events added since it was created never arrive. Repairing the webhook resubscribes it. A derived boolean — never the endpoint id or the signing secret.
  - `stripeAccountId` string: The Stripe account this app is connected to, e.g. `acct_1A2b3C`. An identifier, not a secret. Absent until it has been resolved from Stripe.
  - `stripeMode` string: The Stripe mode the app's keys operate in: `test` or `live`. Absent when no Stripe key is stored.
  - `stripeAccountSharing` object: Set only when another Bridge app uses the same Stripe account and mode. Other apps are named only when they belong to the same owner; otherwise only a count is given.
  - `azureMarketplaceCredentialsAdded` boolean, required
  - `azureAdSsoCredentialsAdded` boolean, required
  - `googleSsoCredentialsAdded` boolean, required
  - `linkedinSsoCredentialsAdded` boolean, required
  - `appleSsoCredentialsAdded` boolean, required
  - `githubSsoCredentialsAdded` boolean, required
  - `facebookSsoCredentialsAdded` boolean, required

---

[API](https://skmtc.dev/thebridge/apis/bridge-api.md) · [All operations](https://skmtc.dev/thebridge/apis/bridge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebridge/apis/bridge-api/revisions/290fffcb3d80?raw)
