Connectors

Get this org’s OAuth app for a connector

Whether connects on this connector use Elaichi’s platform application or one this organization supplied, and the client id if so. The client secret is never returned — has_client_secret reports only whether one is stored. Answers 404 for a connector this organization owns (edit its credentials with PATCH /connector/{slug} instead — the message says so only to a caller who can see it), for a platform remote MCP connector, and for a connector with no OAuth 2.0 credential (auth_formats on GET /connector/{slug} does not include oauth2) unless this organization already has an override stored for it. Every other catalog OAuth 2.0 connector answers 200, whether or not Elaichi’s own app already works for it: oauth_app_mode is platform_default until the organization sets its own, and byoa: true on GET /connector/{slug} is what says the platform has no usable app and one is required. A client reads this endpoint directly: a 404 here means no organization OAuth application applies to this connector and the override UI should not be offered. Requires connector:manage.

get/connector/{slug}/oauth-app

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/connector/{slug}/oauth-app
  • Auth: HTTP bearer

Path parameters

slugstring required

Connector slug.

Headers

X-Organization-Idstring

Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.

Response

OK

oauth_app_mode'platform_default' | 'byoa'

Which application connects on this connector use.

client_idstring nullable
has_client_secretboolean

Whether a secret is stored. The secret itself is never returned.

scopestring[] nullable

Scope overrides this org stored, or null when it kept the catalog scopes.

optional_scopestring[] nullable
user_scopestring nullable

Space-separated authorize-URL scopes (params.user_scope), or null. Null also when one is stored but held back, see user_scope_masked.

user_scope_maskedboolean

True when a user_scope is stored encrypted by an older write and cannot be read or changed here. A PUT that sets user_scope then answers 409.

supports_user_scopeboolean

Whether this connector’s provider takes user token scopes (Slack does). Where false, a user_scope that differs from the stored one is refused with 400.

updated_atstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.