---
title: "Add CRM Plugin"
method: POST
path: "/api/v4/website_buttons"
---

# Add CRM Plugin

`POST /api/v4/website_buttons`

This method enables you to add a CRM Plugin. Once you make the request, the source in the pipeline is created immediately, while the CRM Plugin settings are created asynchronously (outside the context of the request).

## Headers

- `Content-Type` string

## Request body

- object
  - `pipeline_id` integer, required — Pipeline ID
  - `trusted_websites` string[] — Trusted domains where the CRM Plugin will be loaded
  - `is_used_in_app` boolean — If you create the CRM Plugin without trusted domains, you must pass this parameter.

## Response `202`

202

- object
  - `source_id` integer
  - `trusted_websites` string[]

## Other responses

- `400` — 400
- `401` — 401

---

[API](https://skmtc.net/kommo/apis/kommo-api-references.md) · [All operations](https://skmtc.net/kommo/apis/kommo-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kommo/kommo-api-references/revisions/f17af4d23c7c/schema)
