Skip to main content
Integrations connect Moonshadow to external tools such as Slack, GitHub, and Jira. Use these endpoints to discover which providers are available, connect them to your workspace, and manage their configuration and lifecycle.

List Available Integrations

Returns all integration providers that you can connect to a workspace.

Response

array
Array of available integration providers.
string
Provider key: slack, github, jira, notion, etc.
string
Human-readable provider name.
string
Short description of what the integration does.
array
List of credential fields required to connect, such as token, api_key, or oauth.

Connect an Integration

Connects an external provider to a workspace.

Request Body

string
required
Provider key from the available integrations list, e.g. slack or github.
string
required
The workspace ID to connect the integration to.
object
required
Provider-specific credentials. Fields match required_credentials from the available integrations list.

Response

Store credentials securely and rotate them regularly. Moonshadow encrypts credentials at rest, but leaked tokens can still be used against the third-party provider.

List Connected Integrations

Returns all integrations currently connected to a workspace.

Path Parameters

string
required
The workspace ID.

Response

string
Current connection status: connected, disconnected, or error.
string | null
ISO 8601 timestamp of the last successful data sync, or null if never synced.

Disconnect an Integration

Removes an integration from a workspace and deletes stored credentials.

Path Parameters

string
required
The workspace ID.
string
required
The integration ID to disconnect.

Response

Returns 204 No Content on success.
Disconnecting an integration stops all event ingestion from that provider and removes associated webhooks. You can reconnect later without losing workspace configuration.