Upsert Destination
POST
/pipelines/save-destination
Creates or updates a pipeline destination
Request
Headers
An API Key is required to access this endpoint.
Name | Value |
---|---|
x-api-key |
|
Body
Name | Type | Description |
---|---|---|
| string | Unique ID for the pipeline. |
| enum | Supported enums:
|
| Webhook object. |
Webhook
Webhook ID is required when updating an existing webhook.
Name | Type | Description |
---|---|---|
| string | Unique ID for the webhook. |
| Config for the webhook. |
Config
Name | Type | Description |
---|---|---|
| string | Webhook URL. |
| Header[] | Array of headers for the webhook. |
Header
Name | Type | Description |
---|---|---|
| string | Name of the header. |
| string | Value associated with the header. |
Example
Response
The API returns the response in JSON format.
Each response includes a success
boolean.
Example
Last updated