Outgoing Webhook

Overview

The OutgoingWebhook resources represents the configuration of an external configuration that events from automation events will be sent to. The term "Outgoing" is often used for this type of webhook to indicate that events are outgoing from the Portant platform to an external destination.

For more details on how to listen to webhook events from Portant please see the following article: Listen to Events from Portant via Webhooks

Fields

Example

{
    "id": "owc_XY1Ys4gqrpX8cp",
    "webhookUrl": "https://webhook.site/d22c56ab-40ac-4f9a-93ef-02520235c0da"
},

Endpoints

Get an OutgoingWebhook

GET /workflows/<wkf_id>/outgoing-webhooks/

Retrieve the outgoing webhook configuration of the specific workflow as specified by the id.

Responses

Create an OutgoingWebhook

POST /workflows/<wkf_id>/outgoing-webhooks/

Create the outgoing webhook configuration of the specific workflow as specified by the id.

Request

The request body must contain a single field that is the webhook URL you wish to receive events at.

{
    webhookUrl: "https://..."
}

Responses

Update an OutgoingWebhook

PATCH /workflows/<wkf_id>/outgoing-webhooks/

Update the outgoing webhook configuration of the specific workflow as specified by the id.

Request

The request body must contain a single field that is the webhook URL you wish to receive events at.

{
    webhookUrl: "https://..."
}

Responses

Last updated