Integrations
Native Integrations
Catalog, connect, OAuth, and invoke actions on Weave HTTP integrations.
Native Integrations
Base: https://<APP_HOST>/api/v1/integrations
Authenticate with a session or personal token that includes integrations:* scopes. Prefer X-Workspace-Id for workspace context.
Catalog
curl "https://<APP_HOST>/api/v1/integrations/catalog" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>"Returns provider manifests (slug, auth type, available actions, setup tips).
List connections
curl "https://<APP_HOST>/api/v1/integrations" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>"Create connection
curl -X POST "https://<APP_HOST>/api/v1/integrations" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>" \
-H "Content-Type: application/json" \
-d '{
"slug": "google_calendar",
"name": "Work calendar",
"is_enabled": true,
"config": {}
}'| Field | Type | Required | Notes |
|---|---|---|---|
slug or catalog_slug | string | yes | Provider id |
name | string | no | Display name |
api_key / bearer_token | string | no | For key-based providers |
username / password | string | no | Basic auth providers |
config | object | no | Provider-specific |
is_enabled | boolean | no |
Connect / disconnect
curl -X POST "https://<APP_HOST>/api/v1/integrations/<ID>/connect" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>" \
-H "Content-Type: application/json" \
-d '{ "api_key": "..." }'
curl -X POST "https://<APP_HOST>/api/v1/integrations/<ID>/disconnect" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>"OAuth start
curl -X POST "https://<APP_HOST>/api/v1/integrations/<ID>/oauth/start" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>"Browser callback (no JWT): GET /api/v1/integrations/oauth/callback.
Invoke an action
curl -X POST "https://<APP_HOST>/api/v1/integrations/google_calendar/actions/list_events" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>" \
-H "Content-Type: application/json" \
-d '{
"input": {
"timeMin": "2026-11-01T00:00:00Z",
"timeMax": "2026-11-30T23:59:59Z"
}
}'Success shape:
{
"success": true,
"data": {
"result": {}
}
}Action ids and input schemas are provider-specific — discover them from GET /catalog and the provider’s action definitions.
Delete
curl -X DELETE "https://<APP_HOST>/api/v1/integrations/<ID>" \
-H "Authorization: Bearer wn_live_..." \
-H "X-Workspace-Id: <WORKSPACE_ID>"