Skip to main content

Webhooks

To add support for webhooks in your connector, you must define two additional endpoints in the .unito.json configuration file.

info

Webhooks are optional. Ignore this section if you're not planning on enabling webhooks.

webhookSubscriptionsRelativeUrl

The path at which Unito can subscribe to webhooks. Unito will append this webhookSubscriptionsRelativeUrl to your baseUrl.

{
"webhookSubscriptionsRelativeUrl": "/webhooks/subscription"
}

webhookParsingRelativeUrl

The path at which Unito can parse webhooks. Unito will append this webhookParsingRelativeUrl to your baseUrl.

{
"webhookParsingRelativeUrl": "/webhooks/parse"
}

webhookAcknowledgeRelativeUrl

The path at which Unito can acknowledge webhooks. Unito will append this webhookAcknowledgeRelativeUrl to your baseUrl.

{
"webhookAcknowledgeRelativeUrl": "/webhooks/acknowledge"
}