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
your_api_key
Body
Name
Type
Description
id
string
Unique ID for the pipeline.
destinationType
enum
Supported enums:
webhook
Webhook
Webhook ID is required when updating an existing webhook.
Name
Type
Description
id
string
Unique ID for the webhook.
Config
Name
Type
Description
url
string
Webhook URL.
Header
Name
Type
Description
key
string
Name of the header.
value
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