Plugins

Sync Plugins from GitHub

Re-imports plugins from your organization's configured GitHub source repositories and republishes them to your marketplace targets. This is the on-demand equivalent of the Sync all now button and the daily auto-sync — it ignores the per-repo auto-sync toggle and the once-per-day guard, re-importing using the credentials captured when each source repo was added.

Source repos are configured under Plugins → Plugins Settings → Sync from GitHub. If none are configured, the sync is a no-op that returns an empty outcomes list.

By default the request runs synchronously and returns per-repo results. For organizations with many repos, set background: true to return immediately (202) and continue the sync server-side.

Requires a token with the admin:write scope.

post/api/plugins/sync

Request

  • Base URL: https://app.withwillow.ai
  • URL: https://app.withwillow.ai/api/plugins/sync
  • Auth: HTTP bearer

Request body

repostring

Restrict the sync to a single configured source repo, in owner/repo form. Omit to sync every configured repo.

backgroundboolean

When true, return 202 immediately and continue the sync server-side. Use for orgs with many repos where a synchronous call could exceed the client's request timeout.

Example request

{
  "repo": "my-org/my-plugins"
}

Response

Sync completed. Returns per-repo outcomes.

Example response

{
  "data": {
    "syncedAny": true,
    "outcomes": [
      {
        "repo": "my-org/my-plugins",
        "status": "success",
        "imported": 4,
        "error": "1 of 3 plugin(s) failed to sync"
      }
    ]
  }
}

Changes

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