Verify and configure integration credentials
Changed onRequires a user principal with project management permission. Slack credentials are configured through OAuth. A stale expected_setup_revision or a credential changed during verification returns 409; reload the integration and retry setup. Setup preserves integration settings; verified provider identity scopes incoming events.
Request
- Base URLhttps://api.omnara.com/v1
- Auth
- HTTP bearer
- or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf
Path parameters
Organization ID (org_...).
Project ID (proj_...).
Integration ID (itg_...).
Request body
Verifies credentials for this saved integration. GitHub tenant/account are the numeric App ID and Installation ID; the secret is github_app_credentials. Discord tenant is the Application ID; its generic secret contains the bot token, from which the bot User ID is discovered automatically. Reconnect preserves the original verified provider identity. A concurrent setup change rejects this request. Credential payloads are never returned.
Required GitHub Installation ID. Optional for Discord; an explicitly supplied bot User ID must match the token.
Optional display label. Discord credential verification defaults to the bot's current name when omitted; cached settings saves preserve the saved label.
Secret ID (sec_...).
Omit to preserve current provider settings. A supplied object replaces them; include every setting you intend to retain.
Response
Integration setup.
Project ID (proj_...).
Immutable, project-unique integration name used in config keys and qualified tool names.
Registered integration implementation; independent of the saved integration's name and immutable ID.
Credential and transport revision. Launcher edits leave this value unchanged.
Most recent connection failure for the active integration's current setup and credential version. Returned only by Get integration, not list or mutation responses. Omission does not establish provider connectivity; a runtime lease is not a connection check.
Integration-owned settings JSON. Validate against capabilities.settings.input_schema from the integration catalog. Public profile references use aprf_ IDs and resolve at runtime. GitHub integrations use GitHubIntegrationSettings; Slack and Discord integrations use ChatIntegrationSettings.
Verified provider identity, omitted until first connection. Retained after disconnect.
Verified provider account, omitted until first connection. Retained after disconnect.
Provider account display label, at most 512 UTF-8 bytes. Leading and trailing whitespace is trimmed on save. Empty means no label; an omitted or empty value clears the label on account-management updates.
GitHub App mention including the leading @, derived from the verified App slug. Omitted when the verified slug is unavailable or the integration is not GitHub. Retained after disconnect.
Secret ID (sec_...).
Non-secret provider configuration, validated for the selected provider. Slack and GitHub integrations require an empty object. Discord accepts only public_key (optional, a 32-byte hex-encoded Ed25519 verification key for interaction callbacks). Omnara manages one Gateway connection per Discord integration. Credentials and integration behavior are not accepted here.
Changes
- info
endpoint added
- info