---
title: "Bind an installed plugin to a marketplace source"
method: POST
path: "/api/v1/plugins/{plugin_id}/source"
tags: ["Plugins"]
---

# Bind an installed plugin to a marketplace source

`POST /api/v1/plugins/{plugin_id}/source`

**Required scope:** `plugin`

## Path parameters

- `plugin_id` string, required

## Request body

- PluginSourceBindRequest
  - `install_method` string
  - `registry_url` string, nullable
  - `market_plugin_id` string

## Response `200`

Standard AstrBot success response

- SuccessEnvelope
  - `status` 'ok', required
  - `message` string
  - `data` unknown, required

---

[API](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astrbotdevs/astrbot-openapi-v1/revisions/4463c5ffdb9c/schema)
