v1

latestOpenAPI 3.1.02026-07-241630614.2 KB

Add CRM Plugin

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).

post/api/v4/website_buttons

Headers

Content-Typestring

Request header

Request body

pipeline_idinteger required

Pipeline ID

trusted_websitesstring[]

Trusted domains where the CRM Plugin will be loaded

is_used_in_appboolean

If you create the CRM Plugin without trusted domains, you must pass this parameter.

Response

202

source_idinteger
trusted_websitesstring[]

Example response

{
  "source_id": 62112321,
  "trusted_websites": [
    "example.com"
  ]
}