The Bridge Internal API
The internal API from The Bridge — 102 operation(s) for internal.
Operations 104
GET
/sentry-test/non-http-error
Test endpoint: Throws a regular (non-HTTP) Error Expected behavior: Should be…
#
GET
/v1/sentry-test/non-http-error
Test endpoint: Throws a regular (non-HTTP) Error Expected behavior: Should be…
#
GET
/sentry-test/http-error
Test endpoint: Throws an HTTP 500 InternalServerErrorException Expected…
#
GET
/v1/sentry-test/http-error
Test endpoint: Throws an HTTP 500 InternalServerErrorException Expected…
#
POST
/account/internal/oauth2/getClientConfig
This endpoint is being used by the auth-api when pulling information for a…
#
POST
/v1/account/internal/oauth2/getClientConfig
This endpoint is being used by the auth-api when pulling information for a…
#
POST
/account/internal/getAppById
Get light app data by appId (for internal services like communication)
#
POST
/v1/account/internal/getAppById
Get light app data by appId (for internal services like communication)
#
POST
/account/internal/billing/workspaceSnapshot
Workspace plan and entitlements for flag evaluation
#
POST
/v1/account/internal/billing/workspaceSnapshot
Workspace plan and entitlements for flag evaluation
#
POST
/account/internal/oauth2/sendMagicLink
This endpoint is being used by the auth-api when emailing a magic link to a user
#
POST
/v1/account/internal/oauth2/sendMagicLink
This endpoint is being used by the auth-api when emailing a magic link to a user
#
POST
/account/internal/oauth2/authenticate
This endpoint is being used by the auth-api when authenticating user with…
#
POST
/v1/account/internal/oauth2/authenticate
This endpoint is being used by the auth-api when authenticating user with…
#
POST
/account/internal/oauth2/credentialsConfig
This is to either show password input or reset password when user tries to…
#
POST
/v1/account/internal/oauth2/credentialsConfig
This is to either show password input or reset password when user tries to…
#
POST
/account/internal/oauth2/passkeysCredentialsConfig
Platform internals controller oauth2 passkeys credentials config[0]
#
POST
/v1/account/internal/oauth2/passkeysCredentialsConfig
Platform internals controller oauth2 passkeys credentials config[1] v1
#
POST
/account/internal/oauth2/passkeysCredentialsConfigFromPasskeysExternalId
Platform internals controller oauth2 passkeys credentials config from passkeys…
#
POST
/v1/account/internal/oauth2/passkeysCredentialsConfigFromPasskeysExternalId
Platform internals controller oauth2 passkeys credentials config from passkeys…
#
POST
/account/internal/oauth2/passkeysRegisterNewDevice
Should be used by the auth-api when asking to register a new passkey device
#
POST
/v1/account/internal/oauth2/passkeysRegisterNewDevice
Should be used by the auth-api when asking to register a new passkey device
#
POST
/account/internal/passkeys/request-setup-link
Platform internals controller passkeys request setup link[0]
#
POST
/v1/account/internal/passkeys/request-setup-link
Platform internals controller passkeys request setup link[1] v1
#
POST
/account/internal/passkeys/credentials-config
Platform internals controller passkeys credentials config[0]
#
POST
/v1/account/internal/passkeys/credentials-config
Platform internals controller passkeys credentials config[1] v1
#
POST
/account/internal/passkeys/register-device
Platform internals controller passkeys register device[0]
#
POST
/v1/account/internal/passkeys/register-device
Platform internals controller passkeys register device[1] v1
#
POST
/account/internal/oauth2/federatedAuthenticate
This endpoint is being used by the auth-api when authenticating user from a…
#
POST
/v1/account/internal/oauth2/federatedAuthenticate
This endpoint is being used by the auth-api when authenticating user from a…
#
POST
/account/internal/oauth2/authenticateWithUsername
This endpoint is being used by the auth-api when authenticating user…
#
POST
/v1/account/internal/oauth2/authenticateWithUsername
This endpoint is being used by the auth-api when authenticating user…
#
POST
/account/internal/oauth2/resendMfaCode
TBP-775 — a new sign-in code; the session keeps only the returned challenge id
#
POST
/v1/account/internal/oauth2/resendMfaCode
TBP-775 — a new sign-in code; the session keeps only the returned challenge id
#
POST
/account/internal/oauth2/startMfaUserSetup
TBP-775 — texts a code to the number being set up; the number stays with the…
#
POST
/v1/account/internal/oauth2/startMfaUserSetup
TBP-775 — texts a code to the number being set up; the number stays with the…
#
POST
/account/internal/oauth2/verifyMfaCode
TBP-775 — checks a sign-in code against its server-side challenge (expiry…
#
POST
/v1/account/internal/oauth2/verifyMfaCode
TBP-775 — checks a sign-in code against its server-side challenge (expiry…
#
POST
/account/internal/oauth2/finishMfaUserSetup
TBP-775 — checks the setup code, then saves the phone number it was sent to…
#
POST
/v1/account/internal/oauth2/finishMfaUserSetup
TBP-775 — checks the setup code, then saves the phone number it was sent to…
#
POST
/account/internal/oauth2/createTestMfaChallenge
Test fixtures only (Playwright): a challenge with a known code and no text…
#
POST
/v1/account/internal/oauth2/createTestMfaChallenge
Test fixtures only (Playwright): a challenge with a known code and no text…
#
POST
/account/internal/oauth2/getAuthContext
This endpoint is being used by the auth-api when accepted user credentials and…
#
POST
/v1/account/internal/oauth2/getAuthContext
This endpoint is being used by the auth-api when accepted user credentials and…
#
POST
/account/internal/app
Nblock dashboard will call these endpoints instead of the normal ones due to it…
#
POST
/v1/account/internal/app
Nblock dashboard will call these endpoints instead of the normal ones due to it…
#
POST
/account/internal/stripeWebhook/{appId}/repair
Re-run Stripe setup for an app and replace its Stripe webhook endpoint
#
POST
/v1/account/internal/stripeWebhook/{appId}/repair
Re-run Stripe setup for an app and replace its Stripe webhook endpoint
#
POST
/account/internal/stripe/{appId}/disconnect
Disconnect Stripe from an app and remove its Stripe webhook endpoint
#
POST
/v1/account/internal/stripe/{appId}/disconnect
Disconnect Stripe from an app and remove its Stripe webhook endpoint
#
GET
/account/internal/stripe/{appId}/disconnectPreview
Report what disconnecting Stripe from an app would cost, without doing it
#
GET
/v1/account/internal/stripe/{appId}/disconnectPreview
Report what disconnecting Stripe from an app would cost, without doing it
#
POST
/account/internal/oauth2/forgotPassword
---------------- End of Nblocks dashboard ---------------------
#
POST
/v1/account/internal/oauth2/forgotPassword
---------------- End of Nblocks dashboard ---------------------
#
PUT
/account/internal/oauth2/updatePassword
Used by SDK auth service to commit a new password using the reset token without…
#
PUT
/v1/account/internal/oauth2/updatePassword
Used by SDK auth service to commit a new password using the reset token without…
#
GET
/account/internal/oauth2/validatePasswordToken
Validates a forgot-password token and returns the associated appId.
#
GET
/v1/account/internal/oauth2/validatePasswordToken
Validates a forgot-password token and returns the associated appId.
#
POST
/account/internal/resolveAppData
Resolve app, tenant and tenant-user context from an application API key
#
POST
/v1/account/internal/resolveAppData
Resolve app, tenant and tenant-user context from an application API key
#
POST
/account/internal/endTransaction
Close out a resolved app transaction, returning the same resolved context
#
POST
/v1/account/internal/endTransaction
Close out a resolved app transaction, returning the same resolved context
#
POST
/v1/account/internal/oauth2/revokeToken
Used by auth-api to record a revoked refresh token JTI.
#
POST
/account/internal/oauth2/isTokenRevoked
Used by auth-api to check whether a refresh token JTI has been revoked
#
POST
/v1/account/internal/oauth2/isTokenRevoked
Used by auth-api to check whether a refresh token JTI has been revoked
#
POST
/v1/account/nblocks/testApp
This is called by both nblocks-cli < 1.1.0 and admin-ui (20230803)…
#
POST
/account/nblocks/app
This is called by both nblocks-cli >= 1.1.0 and admin-ui create-app.screen
#
POST
/v1/account/nblocks/app
This is called by both nblocks-cli >= 1.1.0 and admin-ui create-app.screen
#
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/thebridge-dev/json-schema/thebridge-dev-app-config-response-dto-schema.json
JSONSchema
https://artifacts.apis.io/thebridge-dev/json-schema/thebridge-dev-get-app-response-dto-schema.json
JSONSchema
https://artifacts.apis.io/thebridge-dev/json-schema/thebridge-dev-update-app-request-dto-schema.json