@celigo/api-specs 0.2.249 → 0.2.251
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/export.yml +31 -11
- package/dist/flow.yml +37 -10
- package/dist/import.yml +9 -0
- package/dist/tool.yml +40 -11
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/export.yml
CHANGED
|
@@ -1484,7 +1484,7 @@ components:
|
|
|
1484
1484
|
required:
|
|
1485
1485
|
- verify
|
|
1486
1486
|
x-celigo-ui-override: 'verify is required by the webhook listener form for every provider (exports/webhook.js: verify required:true; on a connector-backed listener the form pre-fills it from the connector definition before saving). The API enforces it only when provider is custom or absent — 422 missing_required_field on webhook.verify, "verify is required for export type webhook, provider = custom". For the named providers probed (slack, shopify, github) it stores a listener posted with key and no verify (201 each; the GET carries provider, key and formType simple) and requires a credential instead: without key (and no token) each answers 422 missing_required_field on webhook.key — "key is required for slack verification" / "key is required for shopify verification" / "key is required for github verification"; a slack listener posted with token and no key saved. Other named providers are unprobed. The requirement is kept so an authored document matches a form-saved one.'
|
|
1487
|
-
description: Configuration for webhook listeners that receive data through incoming HTTP requests. Required when the export's `type` is `webhook`; omit for other export types. Senders POST to the export's listener URL, `https://api.integrator.io/v1/exports/{_id}/data` (or the same path on the account's regional API host); the platform
|
|
1487
|
+
description: 'Configuration for webhook listeners that receive data through incoming HTTP requests. Required when the export''s `type` is `webhook`; omit for other export types. Senders POST to the export''s listener URL, `https://api.integrator.io/v1/exports/{_id}/data` (or the same path on the account''s regional API host); the platform checks each request, passes the payload to subsequent flow steps, and returns a configurable HTTP response to the caller. How a request is checked depends on `provider`: a `custom` listener applies the saved `verify` method exactly; a named provider (`slack`, `shopify`, …) is verified the way that provider signs its webhooks; an `integrator-extension` listener is checked for a Celigo API token only and ignores the saved `verify` fields — see those fields for the detail. A request is answered 204 by default when accepted, 401 when the check fails, 403 `unable_to_run_flows` while every flow the export feeds is disabled, and 403 `access_denied` when the export''s `_networkPolicyId` policy does not admit the sender''s address (checked before verification, with a valid or an invalid token alike, where enforcement is enabled for the account); a refused request is not queued, so the sender must resend it once the cause is cleared. A 401 carries the reason in the `WWW-Authenticate` response header (body `Unauthorized`); the reason reflects the listener''s method, so these are representative rather than exhaustive. For a `custom` listener: `invalid token` (the token at the configured location is present and does not match), `Header ''<name>'' not found or empty` / `Query parameter ''<name>'' not found or empty` / `Invalid token path` (the token is absent from the configured header, query parameter or body path), `Header value does not have <scheme> scheme` (the configured `tokenHeaderScheme` prefix is missing), `invalid username and/or password` (`basic`), `Invalid header: <name>` / `<name> empty!` (`hmac` signature mismatch / header absent), and `invalid url token` / `missing required token in url` (`secret_url`). A named provider returns the reason for its own method (probed: `slack` token verification `!token`; `shopify` HMAC `Invalid X-Shopify-Hmac-SHA256`). An `integrator-extension` listener returns `invalid_request` for any request without a Celigo API token.'
|
|
1488
1488
|
x-celigo-ai-guidance:
|
|
1489
1489
|
- Configuration object for real-time event listeners that receive data via incoming HTTP requests.
|
|
1490
1490
|
- |-
|
|
@@ -1497,7 +1497,13 @@ components:
|
|
|
1497
1497
|
- |-
|
|
1498
1498
|
## WEBHOOK SECURITY MODELS
|
|
1499
1499
|
|
|
1500
|
-
|
|
1500
|
+
The `provider` decides how a delivery is checked. A `custom` listener applies the
|
|
1501
|
+
`verify` method below; a named provider (`slack`, `shopify`, …) is verified the way
|
|
1502
|
+
that provider signs its webhooks (its form fields mirror that method); and an
|
|
1503
|
+
`integrator-extension` listener ("Celigo integrator.io" tile) is checked for a Celigo
|
|
1504
|
+
API token instead — the `verify` fields below are stored but not evaluated, and a
|
|
1505
|
+
request without `Authorization: Bearer <integrator.io API token>` is answered 401
|
|
1506
|
+
`invalid_request`. The methods below apply to `custom` listeners:
|
|
1501
1507
|
|
|
1502
1508
|
1. **HMAC Verification** (Most secure, recommended for production)
|
|
1503
1509
|
- Required fields: verify="hmac", key, algorithm, encoding, header
|
|
@@ -1558,7 +1564,7 @@ components:
|
|
|
1558
1564
|
properties:
|
|
1559
1565
|
provider:
|
|
1560
1566
|
type: string
|
|
1561
|
-
description: 'Source application sending the webhook. A named provider labels the listener and opens it in the Simple form view, where the form pre-fills that platform''s verification settings and payload parsing before saving; the API itself stores the document as sent and fills nothing in. Use `custom` (the default when omitted) for unlisted providers or when you need full manual control over the security configuration. A named provider requires a credential: `key` for the providers probed (shopify, github, slack — and slack also saves with `token` alone); the HMAC settings a provider''s form pre-fills are the form''s, not an API requirement (see the guidance below).'
|
|
1567
|
+
description: 'Source application sending the webhook, and the control that decides how the platform checks each delivery. A named provider labels the listener and opens it in the Simple form view, where the form pre-fills that platform''s verification settings and payload parsing before saving; the API itself stores the document as sent and fills nothing in. Use `custom` (the default when omitted) for unlisted providers or when you need full manual control over the security configuration. A named provider requires a credential: `key` for the providers probed (shopify, github, slack — and slack also saves with `token` alone); the HMAC settings a provider''s form pre-fills are the form''s, not an API requirement (see the guidance below). `integrator-extension` is a distinct case: the platform checks that listener for a Celigo API token and does NOT evaluate the saved `verify` fields — see its enum description.'
|
|
1562
1568
|
x-celigo-ai-guidance:
|
|
1563
1569
|
- |-
|
|
1564
1570
|
Specifies the source application sending webhook data,
|
|
@@ -1677,7 +1683,7 @@ components:
|
|
|
1677
1683
|
parseur: Parseur email parsing event webhooks.
|
|
1678
1684
|
mailparser-io: Mailparser.io email parsing event webhooks.
|
|
1679
1685
|
hubspot: HubSpot CRM event webhooks.
|
|
1680
|
-
integrator-extension: Celigo integrator extension
|
|
1686
|
+
integrator-extension: 'Celigo integrator.io internal listener — the "Celigo integrator.io" application tile, whose intended sender is another integrator.io flow. The platform checks this listener for a Celigo API token and does NOT evaluate the saved `verify` / `token` / `tokenHeaderName` fields, whatever the form stored. Probed on a live listener: a request carrying an integrator.io API token in an `Authorization` Bearer header is accepted (204), and every request without one — including a matching saved token in its configured header — is answered 401 with a `WWW-Authenticate` value of `invalid_request`. (The tile''s intended producer is another flow calling the listener through a Celigo APIs / Celigo integrator.io connection whose scope includes it; that flow-to-flow path was not separately probed here.) For any other sender — a third-party application, a customer service, Postman or curl with a shared secret — use `custom`, where the saved `verify` method is what is checked; switch an existing `integrator-extension` listener to `custom` with a full update (the field is not accepted on PATCH).'
|
|
1681
1687
|
custom: Generic webhook with fully manual security and payload configuration.
|
|
1682
1688
|
sapariba: SAP Ariba procurement event webhooks.
|
|
1683
1689
|
happyreturns: Happy Returns return management event webhooks.
|
|
@@ -1710,16 +1716,24 @@ components:
|
|
|
1710
1716
|
verify:
|
|
1711
1717
|
type: string
|
|
1712
1718
|
x-celigo-ui-override: Required by the webhook export form (verify is required:true). Encoded to mirror the form so builders produce connectable configurations.
|
|
1713
|
-
description: 'Verification method applied to every incoming request
|
|
1719
|
+
description: 'Verification method; required for all webhook exports. It is applied to every incoming request only on a `custom` listener. A named provider (`slack`, `shopify`, …) is checked the way that provider signs its webhooks, so this field mirrors that method rather than setting it, and an `integrator-extension` listener is checked for a Celigo API token regardless of this field (see `provider`). Each method needs companion fields: `hmac` requires `key`, `algorithm`, `encoding`, and `header` (on connector-backed webhooks the form does not require them — it fills them from the connector definition before saving; the API itself copies nothing); `token` requires `token`, with `tokenLocation` defaulting to `body` and selecting which location-specific field applies; `basic` requires `username` and `password`; `secret_url` requires `token`. Prefer `hmac` when the source system supports it — it is the most secure option; `secret_url` relies only on URL obscurity and suits non-sensitive data or testing.'
|
|
1714
1720
|
x-celigo-ai-guidance:
|
|
1715
1721
|
- |-
|
|
1716
1722
|
## FIELD BEHAVIOR
|
|
1717
1723
|
|
|
1718
|
-
This field is the primary control for webhook security
|
|
1724
|
+
This field is the primary control for webhook security on a `custom` listener.
|
|
1725
|
+
On a named provider (`slack`, `shopify`, …) the delivery is checked the way that
|
|
1726
|
+
provider signs its webhooks and these fields mirror that method rather than set it
|
|
1727
|
+
(a `slack` token listener rejects a correct header token; a `shopify` HMAC rejects
|
|
1728
|
+
a correct hex signature). On an `integrator-extension` listener the platform checks
|
|
1729
|
+
for a Celigo API token and this field and its companions are ignored (see
|
|
1730
|
+
`provider`):
|
|
1719
1731
|
|
|
1720
1732
|
- REQUIRED for all webhook exports
|
|
1721
1733
|
- Determines which additional security fields must be configured
|
|
1722
|
-
-
|
|
1734
|
+
- On a `custom` listener, controls how incoming requests are validated before
|
|
1735
|
+
processing; on a named provider the provider's own method is applied; on an
|
|
1736
|
+
`integrator-extension` listener it is not applied at all
|
|
1723
1737
|
- |-
|
|
1724
1738
|
## VERIFICATION METHODS
|
|
1725
1739
|
|
|
@@ -1780,7 +1794,7 @@ components:
|
|
|
1780
1794
|
token: Verifies requests by matching a shared secret token found at a specified location in the request.
|
|
1781
1795
|
hmac: Verifies requests using a cryptographic HMAC signature sent in a request header.
|
|
1782
1796
|
basic: Verifies requests using standard HTTP Basic Authentication (username and password).
|
|
1783
|
-
secret_url: Relies on a unique, hard-to-guess token embedded in the webhook URL for security.
|
|
1797
|
+
secret_url: Relies on a unique, hard-to-guess token embedded in the webhook URL for security. The token is a path segment of the listener URL — `/v1/exports/{_id}/{token}/data` — not a query parameter; a request to the plain `/data` route, or with the token in `?token=`, is answered 401 `missing required token in url`, and a wrong token 401 `invalid url token`.
|
|
1784
1798
|
examples:
|
|
1785
1799
|
- token
|
|
1786
1800
|
- hmac
|
|
@@ -8064,8 +8078,12 @@ components:
|
|
|
8064
8078
|
message a `preSavePage` hook on the lookup that returns one `newErrorsAndRetryData`
|
|
8065
8079
|
entry (`{errors: [{code: 404, message: "Product not found"}]}`) when `options.data`
|
|
8066
8080
|
and `options.errors` are both empty failed the record with "Product not found" in
|
|
8067
|
-
the same runs.
|
|
8068
|
-
|
|
8081
|
+
the same runs. Either error is stored at retry stage `page_processor_export`, so a
|
|
8082
|
+
retry runs the lookup again (live, 2026-11-06: the retried error carried a fresh
|
|
8083
|
+
reply and the connection's debug log a new request) — unlike a check in a
|
|
8084
|
+
`postResponseMap` hook, whose retry replays the stored reply. Lookups on
|
|
8085
|
+
adaptors without HTTP response settings (NetSuite, for example) have no
|
|
8086
|
+
`successPath`.
|
|
8069
8087
|
examples:
|
|
8070
8088
|
- status
|
|
8071
8089
|
- success
|
|
@@ -17293,7 +17311,9 @@ components:
|
|
|
17293
17311
|
hook that returns `options.data` itself, or a filtered copy, drops the page without an
|
|
17294
17312
|
error, and the run completes with 0 records, 0 errors and 0 pages. An exception thrown
|
|
17295
17313
|
here fails every record on that page, each with its own retry data, and later pages
|
|
17296
|
-
still run.
|
|
17314
|
+
still run. On a lookup, an error this hook returns through `newErrorsAndRetryData` is
|
|
17315
|
+
stored at retry stage `page_processor_export`: a retry runs the lookup again, as it
|
|
17316
|
+
is configured now, and the hook sees the fresh result.
|
|
17297
17317
|
properties:
|
|
17298
17318
|
function:
|
|
17299
17319
|
type: string
|
package/dist/flow.yml
CHANGED
|
@@ -1913,11 +1913,16 @@ paths:
|
|
|
1913
1913
|
`errorId`.
|
|
1914
1914
|
|
|
1915
1915
|
To modify a record before retrying, call `GET .../{ retryDataKey}/data`, mutate the payload,
|
|
1916
|
-
`PUT` it back, then call this endpoint.
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
`
|
|
1920
|
-
`
|
|
1916
|
+
`PUT` it back, then call this endpoint. Where a retried record re-enters the step is the
|
|
1917
|
+
snapshot's `stage` (the GET on that path describes the stages). The verified re-entry rules:
|
|
1918
|
+
an import's error (`page_processor_import`) is mapped and sent to the destination again, a
|
|
1919
|
+
lookup's error (`page_processor_export`) runs the lookup again, and a postResponseMap hook's
|
|
1920
|
+
error (`post_response_mapping`) re-runs only the hook on the saved record and the step's
|
|
1921
|
+
stored reply — nothing is sent to that step's application again. From there, retried records
|
|
1922
|
+
continue through the following steps as new records would, with no ordering guarantees. To retry the whole open-error queue without listing keys, send
|
|
1923
|
+
`selectAll: true` with a `lastErrorAt` high-water mark instead of `retryDataKeys` — one call
|
|
1924
|
+
retries every matching error, no matter how many (errors without a `retryDataKey` are
|
|
1925
|
+
skipped).
|
|
1921
1926
|
x-celigo-ai-guidance:
|
|
1922
1927
|
- |-
|
|
1923
1928
|
An error leaving the open list after this call does not mean the retry worked: submitting
|
|
@@ -2161,9 +2166,10 @@ paths:
|
|
|
2161
2166
|
where the retry will resume: `page_processor_import` re-runs the import (most common, and where a
|
|
2162
2167
|
postSubmit hook's errors are stored — a retry writes again a record the destination accepted,
|
|
2163
2168
|
and resends one whose refusal the hook reworded), `page_processor_export` re-runs the lookup,
|
|
2164
|
-
`post_response_mapping` (a postResponseMap hook's error
|
|
2165
|
-
reply in `adaptorResponse`, sending nothing to
|
|
2166
|
-
|
|
2169
|
+
`post_response_mapping` (a postResponseMap hook's error, on an import or a lookup) resumes at
|
|
2170
|
+
the hook from the stored reply in `adaptorResponse`, sending nothing to that step's application
|
|
2171
|
+
again — the lookup is not run again either — and carrying the record on to the flow's next
|
|
2172
|
+
steps, and `page_generator` means the error was upstream of the processor.
|
|
2167
2173
|
parameters:
|
|
2168
2174
|
- name: _id
|
|
2169
2175
|
in: path
|
|
@@ -4823,7 +4829,10 @@ components:
|
|
|
4823
4829
|
unless `proceedOnFailure` is true. Then it is included, without the fields response
|
|
4824
4830
|
mapping would have added, and its `responseData` entry has `statusCode` 422 and
|
|
4825
4831
|
`errors` as an object keyed by index (`"0"`, `"1"`, ...) rather than an array. A
|
|
4826
|
-
successful entry has no `errors`.
|
|
4832
|
+
successful entry has no `errors`. An error this hook raises is stored at retry
|
|
4833
|
+
stage `post_response_mapping`: a retry runs the hook again on the saved record (as
|
|
4834
|
+
response mapping left it) and the step's stored reply, without repeating the lookup
|
|
4835
|
+
or the destination request.
|
|
4827
4836
|
x-celigo-ai-guidance:
|
|
4828
4837
|
- |-
|
|
4829
4838
|
Verified live 2026-10-22 in flow runs of an HTTP import, three records with one
|
|
@@ -4831,6 +4840,20 @@ components:
|
|
|
4831
4840
|
records; with `proceedOnFailure: true` they held all three, and a hook that called
|
|
4832
4841
|
`.map` on each entry's `errors` threw on the failed one, failing the page. Read
|
|
4833
4842
|
errors with `Object.values(entry.errors || {})`.
|
|
4843
|
+
- |-
|
|
4844
|
+
A retry of this hook's error never re-queries the looked-up system or re-sends to
|
|
4845
|
+
the destination, so a fix made there (an item created, a search corrected) does not
|
|
4846
|
+
reach the retried record and the same error returns on every retry. The record
|
|
4847
|
+
re-enters the flow from the source (a fresh run performs the lookup), or its retry
|
|
4848
|
+
data is edited to carry the field the hook reads and then retried — the hook passes
|
|
4849
|
+
and the record continues to the next step. To fail a lookup on "no match" so that a
|
|
4850
|
+
retry runs the lookup again, raise the error from the lookup's `preSavePage` hook or
|
|
4851
|
+
an HTTP `successPath` instead (stage `page_processor_export`). Verified live
|
|
4852
|
+
2026-11-06 on a lookup with this hook, one-to-one and one-to-many: the retried
|
|
4853
|
+
error's message carried the original lookup reply, the connection's debug log showed
|
|
4854
|
+
no new request, and after the retry data was edited the retry passed the hook and
|
|
4855
|
+
reached the next import; the same day a `preSavePage` error and a `successPath`
|
|
4856
|
+
error on that lookup were each retried with a new lookup request and a fresh reply.
|
|
4834
4857
|
properties:
|
|
4835
4858
|
function:
|
|
4836
4859
|
type: string
|
|
@@ -7878,7 +7901,11 @@ components:
|
|
|
7878
7901
|
`post_response_mapping` is a postResponseMap hook's error, raised after the destination
|
|
7879
7902
|
answered: a retry runs the hook from the stored reply and carries the record on to the flow's
|
|
7880
7903
|
next steps, sending nothing to that destination again (live, 2026-10-23 and 2026-10-25: the
|
|
7881
|
-
import's request count didn't change, and the next import received the retried records).
|
|
7904
|
+
import's request count didn't change, and the next import received the retried records). The
|
|
7905
|
+
same holds for the hook on a lookup step: the lookup is not run again, so the hook sees the
|
|
7906
|
+
reply saved at run time however the looked-up system has changed since (live, 2026-11-06:
|
|
7907
|
+
the retried error's message carried the original reply and the connection's debug log
|
|
7908
|
+
recorded no new request; a one-to-many child's retry replayed that child alone).
|
|
7882
7909
|
x-celigo-ai-guidance:
|
|
7883
7910
|
- |-
|
|
7884
7911
|
Before retrying `post_submit_hook` errors, find out whether the destination took each
|
package/dist/import.yml
CHANGED
|
@@ -17653,6 +17653,15 @@ components:
|
|
|
17653
17653
|
response, whose envelope carries the mock's id, such as
|
|
17654
17654
|
``1234567890``) → array of the same length, typically mutated
|
|
17655
17655
|
to annotate or augment per-record errors.
|
|
17656
|
+
- |-
|
|
17657
|
+
An error this hook raises is stored at retry stage
|
|
17658
|
+
`page_processor_import`, like the import's own errors: a retry
|
|
17659
|
+
maps the saved record again and sends it to the destination
|
|
17660
|
+
again, so a record the destination had accepted before the hook
|
|
17661
|
+
failed it is written a second time (live, 2026-10-22). Before
|
|
17662
|
+
retrying such errors, find out whether the destination took each
|
|
17663
|
+
record — the hook's message, or a lookup of the record there —
|
|
17664
|
+
and retry only the refusals.
|
|
17656
17665
|
allOf:
|
|
17657
17666
|
- $ref: '#/components/schemas/Hook'
|
|
17658
17667
|
postAggregate:
|
package/dist/tool.yml
CHANGED
|
@@ -27101,6 +27101,15 @@ components:
|
|
|
27101
27101
|
response, whose envelope carries the mock's id, such as
|
|
27102
27102
|
``1234567890``) → array of the same length, typically mutated
|
|
27103
27103
|
to annotate or augment per-record errors.
|
|
27104
|
+
- |-
|
|
27105
|
+
An error this hook raises is stored at retry stage
|
|
27106
|
+
`page_processor_import`, like the import's own errors: a retry
|
|
27107
|
+
maps the saved record again and sends it to the destination
|
|
27108
|
+
again, so a record the destination had accepted before the hook
|
|
27109
|
+
failed it is written a second time (live, 2026-10-22). Before
|
|
27110
|
+
retrying such errors, find out whether the destination took each
|
|
27111
|
+
record — the hook's message, or a lookup of the record there —
|
|
27112
|
+
and retry only the refusals.
|
|
27104
27113
|
allOf:
|
|
27105
27114
|
- $ref: '#/components/schemas/Hook'
|
|
27106
27115
|
postAggregate:
|
|
@@ -28100,7 +28109,7 @@ components:
|
|
|
28100
28109
|
required:
|
|
28101
28110
|
- verify
|
|
28102
28111
|
x-celigo-ui-override: 'verify is required by the webhook listener form for every provider (exports/webhook.js: verify required:true; on a connector-backed listener the form pre-fills it from the connector definition before saving). The API enforces it only when provider is custom or absent — 422 missing_required_field on webhook.verify, "verify is required for export type webhook, provider = custom". For the named providers probed (slack, shopify, github) it stores a listener posted with key and no verify (201 each; the GET carries provider, key and formType simple) and requires a credential instead: without key (and no token) each answers 422 missing_required_field on webhook.key — "key is required for slack verification" / "key is required for shopify verification" / "key is required for github verification"; a slack listener posted with token and no key saved. Other named providers are unprobed. The requirement is kept so an authored document matches a form-saved one.'
|
|
28103
|
-
description: Configuration for webhook listeners that receive data through incoming HTTP requests. Required when the export's `type` is `webhook`; omit for other export types. Senders POST to the export's listener URL, `https://api.integrator.io/v1/exports/{_id}/data` (or the same path on the account's regional API host); the platform
|
|
28112
|
+
description: 'Configuration for webhook listeners that receive data through incoming HTTP requests. Required when the export''s `type` is `webhook`; omit for other export types. Senders POST to the export''s listener URL, `https://api.integrator.io/v1/exports/{_id}/data` (or the same path on the account''s regional API host); the platform checks each request, passes the payload to subsequent flow steps, and returns a configurable HTTP response to the caller. How a request is checked depends on `provider`: a `custom` listener applies the saved `verify` method exactly; a named provider (`slack`, `shopify`, …) is verified the way that provider signs its webhooks; an `integrator-extension` listener is checked for a Celigo API token only and ignores the saved `verify` fields — see those fields for the detail. A request is answered 204 by default when accepted, 401 when the check fails, 403 `unable_to_run_flows` while every flow the export feeds is disabled, and 403 `access_denied` when the export''s `_networkPolicyId` policy does not admit the sender''s address (checked before verification, with a valid or an invalid token alike, where enforcement is enabled for the account); a refused request is not queued, so the sender must resend it once the cause is cleared. A 401 carries the reason in the `WWW-Authenticate` response header (body `Unauthorized`); the reason reflects the listener''s method, so these are representative rather than exhaustive. For a `custom` listener: `invalid token` (the token at the configured location is present and does not match), `Header ''<name>'' not found or empty` / `Query parameter ''<name>'' not found or empty` / `Invalid token path` (the token is absent from the configured header, query parameter or body path), `Header value does not have <scheme> scheme` (the configured `tokenHeaderScheme` prefix is missing), `invalid username and/or password` (`basic`), `Invalid header: <name>` / `<name> empty!` (`hmac` signature mismatch / header absent), and `invalid url token` / `missing required token in url` (`secret_url`). A named provider returns the reason for its own method (probed: `slack` token verification `!token`; `shopify` HMAC `Invalid X-Shopify-Hmac-SHA256`). An `integrator-extension` listener returns `invalid_request` for any request without a Celigo API token.'
|
|
28104
28113
|
x-celigo-ai-guidance:
|
|
28105
28114
|
- Configuration object for real-time event listeners that receive data via incoming HTTP requests.
|
|
28106
28115
|
- |-
|
|
@@ -28113,7 +28122,13 @@ components:
|
|
|
28113
28122
|
- |-
|
|
28114
28123
|
## WEBHOOK SECURITY MODELS
|
|
28115
28124
|
|
|
28116
|
-
|
|
28125
|
+
The `provider` decides how a delivery is checked. A `custom` listener applies the
|
|
28126
|
+
`verify` method below; a named provider (`slack`, `shopify`, …) is verified the way
|
|
28127
|
+
that provider signs its webhooks (its form fields mirror that method); and an
|
|
28128
|
+
`integrator-extension` listener ("Celigo integrator.io" tile) is checked for a Celigo
|
|
28129
|
+
API token instead — the `verify` fields below are stored but not evaluated, and a
|
|
28130
|
+
request without `Authorization: Bearer <integrator.io API token>` is answered 401
|
|
28131
|
+
`invalid_request`. The methods below apply to `custom` listeners:
|
|
28117
28132
|
|
|
28118
28133
|
1. **HMAC Verification** (Most secure, recommended for production)
|
|
28119
28134
|
- Required fields: verify="hmac", key, algorithm, encoding, header
|
|
@@ -28174,7 +28189,7 @@ components:
|
|
|
28174
28189
|
properties:
|
|
28175
28190
|
provider:
|
|
28176
28191
|
type: string
|
|
28177
|
-
description: 'Source application sending the webhook. A named provider labels the listener and opens it in the Simple form view, where the form pre-fills that platform''s verification settings and payload parsing before saving; the API itself stores the document as sent and fills nothing in. Use `custom` (the default when omitted) for unlisted providers or when you need full manual control over the security configuration. A named provider requires a credential: `key` for the providers probed (shopify, github, slack — and slack also saves with `token` alone); the HMAC settings a provider''s form pre-fills are the form''s, not an API requirement (see the guidance below).'
|
|
28192
|
+
description: 'Source application sending the webhook, and the control that decides how the platform checks each delivery. A named provider labels the listener and opens it in the Simple form view, where the form pre-fills that platform''s verification settings and payload parsing before saving; the API itself stores the document as sent and fills nothing in. Use `custom` (the default when omitted) for unlisted providers or when you need full manual control over the security configuration. A named provider requires a credential: `key` for the providers probed (shopify, github, slack — and slack also saves with `token` alone); the HMAC settings a provider''s form pre-fills are the form''s, not an API requirement (see the guidance below). `integrator-extension` is a distinct case: the platform checks that listener for a Celigo API token and does NOT evaluate the saved `verify` fields — see its enum description.'
|
|
28178
28193
|
x-celigo-ai-guidance:
|
|
28179
28194
|
- |-
|
|
28180
28195
|
Specifies the source application sending webhook data,
|
|
@@ -28293,7 +28308,7 @@ components:
|
|
|
28293
28308
|
parseur: Parseur email parsing event webhooks.
|
|
28294
28309
|
mailparser-io: Mailparser.io email parsing event webhooks.
|
|
28295
28310
|
hubspot: HubSpot CRM event webhooks.
|
|
28296
|
-
integrator-extension: Celigo integrator extension
|
|
28311
|
+
integrator-extension: 'Celigo integrator.io internal listener — the "Celigo integrator.io" application tile, whose intended sender is another integrator.io flow. The platform checks this listener for a Celigo API token and does NOT evaluate the saved `verify` / `token` / `tokenHeaderName` fields, whatever the form stored. Probed on a live listener: a request carrying an integrator.io API token in an `Authorization` Bearer header is accepted (204), and every request without one — including a matching saved token in its configured header — is answered 401 with a `WWW-Authenticate` value of `invalid_request`. (The tile''s intended producer is another flow calling the listener through a Celigo APIs / Celigo integrator.io connection whose scope includes it; that flow-to-flow path was not separately probed here.) For any other sender — a third-party application, a customer service, Postman or curl with a shared secret — use `custom`, where the saved `verify` method is what is checked; switch an existing `integrator-extension` listener to `custom` with a full update (the field is not accepted on PATCH).'
|
|
28297
28312
|
custom: Generic webhook with fully manual security and payload configuration.
|
|
28298
28313
|
sapariba: SAP Ariba procurement event webhooks.
|
|
28299
28314
|
happyreturns: Happy Returns return management event webhooks.
|
|
@@ -28326,16 +28341,24 @@ components:
|
|
|
28326
28341
|
verify:
|
|
28327
28342
|
type: string
|
|
28328
28343
|
x-celigo-ui-override: Required by the webhook export form (verify is required:true). Encoded to mirror the form so builders produce connectable configurations.
|
|
28329
|
-
description: 'Verification method applied to every incoming request
|
|
28344
|
+
description: 'Verification method; required for all webhook exports. It is applied to every incoming request only on a `custom` listener. A named provider (`slack`, `shopify`, …) is checked the way that provider signs its webhooks, so this field mirrors that method rather than setting it, and an `integrator-extension` listener is checked for a Celigo API token regardless of this field (see `provider`). Each method needs companion fields: `hmac` requires `key`, `algorithm`, `encoding`, and `header` (on connector-backed webhooks the form does not require them — it fills them from the connector definition before saving; the API itself copies nothing); `token` requires `token`, with `tokenLocation` defaulting to `body` and selecting which location-specific field applies; `basic` requires `username` and `password`; `secret_url` requires `token`. Prefer `hmac` when the source system supports it — it is the most secure option; `secret_url` relies only on URL obscurity and suits non-sensitive data or testing.'
|
|
28330
28345
|
x-celigo-ai-guidance:
|
|
28331
28346
|
- |-
|
|
28332
28347
|
## FIELD BEHAVIOR
|
|
28333
28348
|
|
|
28334
|
-
This field is the primary control for webhook security
|
|
28349
|
+
This field is the primary control for webhook security on a `custom` listener.
|
|
28350
|
+
On a named provider (`slack`, `shopify`, …) the delivery is checked the way that
|
|
28351
|
+
provider signs its webhooks and these fields mirror that method rather than set it
|
|
28352
|
+
(a `slack` token listener rejects a correct header token; a `shopify` HMAC rejects
|
|
28353
|
+
a correct hex signature). On an `integrator-extension` listener the platform checks
|
|
28354
|
+
for a Celigo API token and this field and its companions are ignored (see
|
|
28355
|
+
`provider`):
|
|
28335
28356
|
|
|
28336
28357
|
- REQUIRED for all webhook exports
|
|
28337
28358
|
- Determines which additional security fields must be configured
|
|
28338
|
-
-
|
|
28359
|
+
- On a `custom` listener, controls how incoming requests are validated before
|
|
28360
|
+
processing; on a named provider the provider's own method is applied; on an
|
|
28361
|
+
`integrator-extension` listener it is not applied at all
|
|
28339
28362
|
- |-
|
|
28340
28363
|
## VERIFICATION METHODS
|
|
28341
28364
|
|
|
@@ -28396,7 +28419,7 @@ components:
|
|
|
28396
28419
|
token: Verifies requests by matching a shared secret token found at a specified location in the request.
|
|
28397
28420
|
hmac: Verifies requests using a cryptographic HMAC signature sent in a request header.
|
|
28398
28421
|
basic: Verifies requests using standard HTTP Basic Authentication (username and password).
|
|
28399
|
-
secret_url: Relies on a unique, hard-to-guess token embedded in the webhook URL for security.
|
|
28422
|
+
secret_url: Relies on a unique, hard-to-guess token embedded in the webhook URL for security. The token is a path segment of the listener URL — `/v1/exports/{_id}/{token}/data` — not a query parameter; a request to the plain `/data` route, or with the token in `?token=`, is answered 401 `missing required token in url`, and a wrong token 401 `invalid url token`.
|
|
28400
28423
|
examples:
|
|
28401
28424
|
- token
|
|
28402
28425
|
- hmac
|
|
@@ -34185,8 +34208,12 @@ components:
|
|
|
34185
34208
|
message a `preSavePage` hook on the lookup that returns one `newErrorsAndRetryData`
|
|
34186
34209
|
entry (`{errors: [{code: 404, message: "Product not found"}]}`) when `options.data`
|
|
34187
34210
|
and `options.errors` are both empty failed the record with "Product not found" in
|
|
34188
|
-
the same runs.
|
|
34189
|
-
|
|
34211
|
+
the same runs. Either error is stored at retry stage `page_processor_export`, so a
|
|
34212
|
+
retry runs the lookup again (live, 2026-11-06: the retried error carried a fresh
|
|
34213
|
+
reply and the connection's debug log a new request) — unlike a check in a
|
|
34214
|
+
`postResponseMap` hook, whose retry replays the stored reply. Lookups on
|
|
34215
|
+
adaptors without HTTP response settings (NetSuite, for example) have no
|
|
34216
|
+
`successPath`.
|
|
34190
34217
|
examples:
|
|
34191
34218
|
- status
|
|
34192
34219
|
- success
|
|
@@ -39652,7 +39679,9 @@ components:
|
|
|
39652
39679
|
hook that returns `options.data` itself, or a filtered copy, drops the page without an
|
|
39653
39680
|
error, and the run completes with 0 records, 0 errors and 0 pages. An exception thrown
|
|
39654
39681
|
here fails every record on that page, each with its own retry data, and later pages
|
|
39655
|
-
still run.
|
|
39682
|
+
still run. On a lookup, an error this hook returns through `newErrorsAndRetryData` is
|
|
39683
|
+
stored at retry stage `page_processor_export`: a retry runs the lookup again, as it
|
|
39684
|
+
is configured now, and the hook sees the fresh result.
|
|
39656
39685
|
properties:
|
|
39657
39686
|
function:
|
|
39658
39687
|
type: string
|
package/package.json
CHANGED