Webhook

Supports:

  • ✅ Model sync destination

Connection

Configuration

NameTypeDescriptionRequired
auth_methodstringAuthentication method

Accepted values: polytomic_secret, basic , header , query , oauth_client_credentials
true
headersarrayAdditional headersfalse
urlstringWebhook URLtrue

auth_method

When auth_method is basic
NameTypeDescriptionRequired
basicobjectBasic authenticationtrue
When auth_method is header
NameTypeDescriptionRequired
headerobjectHeadertrue
When auth_method is oauth_client_credentials
NameTypeDescriptionRequired
oauthobjectOAuth client credentialstrue
When auth_method is query
NameTypeDescriptionRequired
queryarrayQuery string authentication parameterstrue

Example

1{
2 "name": "Webhook connection",
3 "type": "webhook",
4 "configuration": {
5 "auth_method": "",
6 "headers": [
7 {
8 "name": "foo",
9 "value": "bar"
10 }
11 ],
12 "url": "https://example.com/webhook"
13 }
14}

Read-only properties

NameTypeDescriptionRequired

auth_method

When auth_method is polytomic_secret
NameTypeDescriptionRequired
secretstringSecretfalse

Model Sync

Target

Webhook connections may be used as the destination in a model sync.

All targets

Configuration
NameTypeDescriptionRequired
batch_sizeintegerBatch size per requestfalse
metadataarrayMetadatafalse
record_requestsbooleanCapture webhook requests and responsesfalse
Example
1{
2 ...
3 "target": {
4 "configuration": {
5 "batch_size": 0,
6 "metadata": [
7 {}
8 ],
9 "record_requests": false
10 }
11 }
12}