@celigo/api-specs 0.2.250 → 0.2.252

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 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 validates each request using the configured `verify` method, passes the payload to subsequent flow steps, and returns a configurable HTTP response to the caller. A request is answered 204 by default when accepted, 401 when it fails verification, 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.
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
- Webhooks support multiple security verification methods, each requiring different fields:
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 internal event webhooks.
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 before processing; required for all webhook exports. 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.'
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
- - Controls how incoming requests are validated before processing
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
@@ -2072,13 +2072,30 @@ components:
2072
2072
  - json
2073
2073
  x-lowercase: true
2074
2074
  x-enumDescriptions:
2075
- string: Text string data type.
2076
- number: Numeric data type including integers and decimals.
2077
- boolean: True or false data type.
2078
- numberarray: Array of numeric values.
2079
- stringarray: Array of text string values.
2080
- json: Arbitrary JSON object or structure.
2081
- description: Data type coercion applied to the mapped value.
2075
+ string: The value as text; an array or object is flattened to text
2076
+ number: The digits and decimal point kept from the text, every other character dropped
2077
+ boolean: '`false`, `no`, `f` (any case) and an empty value become false; any other non-empty value becomes true'
2078
+ numberarray: A one-element array holding the value converted as `number`; delimited text and a real array are joined into that one element
2079
+ stringarray: A one-element array holding the value as text; delimited text and a real array are joined into that one element
2080
+ json: The rendered text parsed as JSON into a real array or object
2081
+ description: |-
2082
+ Conversion applied to the mapped value — the extracted value, or the Handlebars
2083
+ render, which is always text — before it is written. Omit it to write the value as the
2084
+ source delivers it (a source array stays an array). The array types never split text:
2085
+ a delimited string that must become a multi-element array is written by a `json` row
2086
+ whose extract renders JSON text, such as `[{{replace tags " " ""}}]`.
2087
+ x-celigo-ai-guidance:
2088
+ - |-
2089
+ A value outside the enum (`date`, `datetime`, `object`, `objectarray`,
2090
+ `booleanarray`) fails the import save with 422 `enum`; a date destination is
2091
+ `string` with `extractDateFormat` / `generateDateFormat`.
2092
+ - |-
2093
+ `number` drops the minus sign (`-3` is written as `3`) and `boolean` reads `"0"` as
2094
+ true; pass a signed number or a 0/1 flag through with no `dataType` instead.
2095
+ - |-
2096
+ Set `json` through the API: the mapping editor's data-type list does not include
2097
+ it (the Help Center's Mapper 1.0 article "Map source data fields to destination"
2098
+ lists Boolean, Date, Number, Number array, String and String array).
2082
2099
  discardIfEmpty:
2083
2100
  type: boolean
2084
2101
  description: When true, the field is omitted from the output when the extracted value is empty.
@@ -2113,6 +2130,10 @@ components:
2113
2130
  Use ``default``, not ``hardCodedValue``, for a fallback on a field that is
2114
2131
  sometimes empty: ``hardCodedValue`` is written on every record and replaces
2115
2132
  the values that exist.
2133
+ - |-
2134
+ The row's ``dataType`` converts the default too: a null default is written as
2135
+ null on a ``string``, ``json`` or untyped row — ``boolean`` writes false,
2136
+ ``number`` writes 0 and the array types write an empty array.
2116
2137
  extractDateFormat:
2117
2138
  type: string
2118
2139
  description: Date format of the source value, used to parse it before conversion.
package/dist/import.yml CHANGED
@@ -16022,13 +16022,30 @@ components:
16022
16022
  - json
16023
16023
  x-lowercase: true
16024
16024
  x-enumDescriptions:
16025
- string: Text string data type.
16026
- number: Numeric data type including integers and decimals.
16027
- boolean: True or false data type.
16028
- numberarray: Array of numeric values.
16029
- stringarray: Array of text string values.
16030
- json: Arbitrary JSON object or structure.
16031
- description: Data type coercion applied to the mapped value.
16025
+ string: The value as text; an array or object is flattened to text
16026
+ number: The digits and decimal point kept from the text, every other character dropped
16027
+ boolean: '`false`, `no`, `f` (any case) and an empty value become false; any other non-empty value becomes true'
16028
+ numberarray: A one-element array holding the value converted as `number`; delimited text and a real array are joined into that one element
16029
+ stringarray: A one-element array holding the value as text; delimited text and a real array are joined into that one element
16030
+ json: The rendered text parsed as JSON into a real array or object
16031
+ description: |-
16032
+ Conversion applied to the mapped value — the extracted value, or the Handlebars
16033
+ render, which is always text — before it is written. Omit it to write the value as the
16034
+ source delivers it (a source array stays an array). The array types never split text:
16035
+ a delimited string that must become a multi-element array is written by a `json` row
16036
+ whose extract renders JSON text, such as `[{{replace tags " " ""}}]`.
16037
+ x-celigo-ai-guidance:
16038
+ - |-
16039
+ A value outside the enum (`date`, `datetime`, `object`, `objectarray`,
16040
+ `booleanarray`) fails the import save with 422 `enum`; a date destination is
16041
+ `string` with `extractDateFormat` / `generateDateFormat`.
16042
+ - |-
16043
+ `number` drops the minus sign (`-3` is written as `3`) and `boolean` reads `"0"` as
16044
+ true; pass a signed number or a 0/1 flag through with no `dataType` instead.
16045
+ - |-
16046
+ Set `json` through the API: the mapping editor's data-type list does not include
16047
+ it (the Help Center's Mapper 1.0 article "Map source data fields to destination"
16048
+ lists Boolean, Date, Number, Number array, String and String array).
16032
16049
  discardIfEmpty:
16033
16050
  type: boolean
16034
16051
  description: When true, the field is omitted from the output when the extracted value is empty.
@@ -16063,6 +16080,10 @@ components:
16063
16080
  Use ``default``, not ``hardCodedValue``, for a fallback on a field that is
16064
16081
  sometimes empty: ``hardCodedValue`` is written on every record and replaces
16065
16082
  the values that exist.
16083
+ - |-
16084
+ The row's ``dataType`` converts the default too: a null default is written as
16085
+ null on a ``string``, ``json`` or untyped row — ``boolean`` writes false,
16086
+ ``number`` writes 0 and the array types write an empty array.
16066
16087
  extractDateFormat:
16067
16088
  type: string
16068
16089
  description: Date format of the source value, used to parse it before conversion.
@@ -17832,10 +17853,12 @@ components:
17832
17853
 
17833
17854
  This identifies the array itself — do NOT add bracket
17834
17855
  notation here. Per-element semantics belong on the inner
17835
- ``fields[].extract`` paths (which path-walk from the source
17836
- record root and use ``[*]`` to drive iteration). Dot
17837
- notation IS allowed here when the destination places the
17838
- array inside a parent object (e.g. ``order.lines``).
17856
+ ``fields[].extract`` paths, which path-walk from the source
17857
+ record root: ``<array>[*].<field>`` iterates a source array
17858
+ on an object record, ``*.<field>`` iterates the rows of a
17859
+ grouped record (an array of rows). Dot notation IS allowed
17860
+ here when the destination places the array inside a parent
17861
+ object (e.g. ``order.lines``).
17839
17862
  fields:
17840
17863
  type: array
17841
17864
  description: Field mappings applied within each generated list item.
@@ -17846,6 +17869,14 @@ components:
17846
17869
  Per-element field mappings applied to each item in the extracted
17847
17870
  array. Uses the same shape as top-level ``fields`` — same
17848
17871
  extract / generate / lookupName / conditional semantics.
17872
+ - |-
17873
+ The iteration notation follows the record's shape (the two forms
17874
+ named on ``generate``): ``<array>[*].<field>`` on an object record;
17875
+ ``*.<field>`` (``*.[Item SKU]``) on a grouped record — an array of
17876
+ rows, as a grouped saved search delivers — where a top-level
17877
+ ``fields`` row reads the first row. In both shapes a child whose
17878
+ extract is a plain path to a scalar repeats that value on every
17879
+ element.
17849
17880
  x-celigo-ai-guidance:
17850
17881
  - |-
17851
17882
  One source-array → destination-array projection. The destination is
package/dist/tool.yml CHANGED
@@ -25470,13 +25470,30 @@ components:
25470
25470
  - json
25471
25471
  x-lowercase: true
25472
25472
  x-enumDescriptions:
25473
- string: Text string data type.
25474
- number: Numeric data type including integers and decimals.
25475
- boolean: True or false data type.
25476
- numberarray: Array of numeric values.
25477
- stringarray: Array of text string values.
25478
- json: Arbitrary JSON object or structure.
25479
- description: Data type coercion applied to the mapped value.
25473
+ string: The value as text; an array or object is flattened to text
25474
+ number: The digits and decimal point kept from the text, every other character dropped
25475
+ boolean: '`false`, `no`, `f` (any case) and an empty value become false; any other non-empty value becomes true'
25476
+ numberarray: A one-element array holding the value converted as `number`; delimited text and a real array are joined into that one element
25477
+ stringarray: A one-element array holding the value as text; delimited text and a real array are joined into that one element
25478
+ json: The rendered text parsed as JSON into a real array or object
25479
+ description: |-
25480
+ Conversion applied to the mapped value — the extracted value, or the Handlebars
25481
+ render, which is always text — before it is written. Omit it to write the value as the
25482
+ source delivers it (a source array stays an array). The array types never split text:
25483
+ a delimited string that must become a multi-element array is written by a `json` row
25484
+ whose extract renders JSON text, such as `[{{replace tags " " ""}}]`.
25485
+ x-celigo-ai-guidance:
25486
+ - |-
25487
+ A value outside the enum (`date`, `datetime`, `object`, `objectarray`,
25488
+ `booleanarray`) fails the import save with 422 `enum`; a date destination is
25489
+ `string` with `extractDateFormat` / `generateDateFormat`.
25490
+ - |-
25491
+ `number` drops the minus sign (`-3` is written as `3`) and `boolean` reads `"0"` as
25492
+ true; pass a signed number or a 0/1 flag through with no `dataType` instead.
25493
+ - |-
25494
+ Set `json` through the API: the mapping editor's data-type list does not include
25495
+ it (the Help Center's Mapper 1.0 article "Map source data fields to destination"
25496
+ lists Boolean, Date, Number, Number array, String and String array).
25480
25497
  discardIfEmpty:
25481
25498
  type: boolean
25482
25499
  description: When true, the field is omitted from the output when the extracted value is empty.
@@ -25511,6 +25528,10 @@ components:
25511
25528
  Use ``default``, not ``hardCodedValue``, for a fallback on a field that is
25512
25529
  sometimes empty: ``hardCodedValue`` is written on every record and replaces
25513
25530
  the values that exist.
25531
+ - |-
25532
+ The row's ``dataType`` converts the default too: a null default is written as
25533
+ null on a ``string``, ``json`` or untyped row — ``boolean`` writes false,
25534
+ ``number`` writes 0 and the array types write an empty array.
25514
25535
  extractDateFormat:
25515
25536
  type: string
25516
25537
  description: Date format of the source value, used to parse it before conversion.
@@ -27280,10 +27301,12 @@ components:
27280
27301
 
27281
27302
  This identifies the array itself — do NOT add bracket
27282
27303
  notation here. Per-element semantics belong on the inner
27283
- ``fields[].extract`` paths (which path-walk from the source
27284
- record root and use ``[*]`` to drive iteration). Dot
27285
- notation IS allowed here when the destination places the
27286
- array inside a parent object (e.g. ``order.lines``).
27304
+ ``fields[].extract`` paths, which path-walk from the source
27305
+ record root: ``<array>[*].<field>`` iterates a source array
27306
+ on an object record, ``*.<field>`` iterates the rows of a
27307
+ grouped record (an array of rows). Dot notation IS allowed
27308
+ here when the destination places the array inside a parent
27309
+ object (e.g. ``order.lines``).
27287
27310
  fields:
27288
27311
  type: array
27289
27312
  description: Field mappings applied within each generated list item.
@@ -27294,6 +27317,14 @@ components:
27294
27317
  Per-element field mappings applied to each item in the extracted
27295
27318
  array. Uses the same shape as top-level ``fields`` — same
27296
27319
  extract / generate / lookupName / conditional semantics.
27320
+ - |-
27321
+ The iteration notation follows the record's shape (the two forms
27322
+ named on ``generate``): ``<array>[*].<field>`` on an object record;
27323
+ ``*.<field>`` (``*.[Item SKU]``) on a grouped record — an array of
27324
+ rows, as a grouped saved search delivers — where a top-level
27325
+ ``fields`` row reads the first row. In both shapes a child whose
27326
+ extract is a plain path to a scalar repeats that value on every
27327
+ element.
27297
27328
  x-celigo-ai-guidance:
27298
27329
  - |-
27299
27330
  One source-array → destination-array projection. The destination is
@@ -28109,7 +28140,7 @@ components:
28109
28140
  required:
28110
28141
  - verify
28111
28142
  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.'
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 validates each request using the configured `verify` method, passes the payload to subsequent flow steps, and returns a configurable HTTP response to the caller. A request is answered 204 by default when accepted, 401 when it fails verification, 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.
28143
+ 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.'
28113
28144
  x-celigo-ai-guidance:
28114
28145
  - Configuration object for real-time event listeners that receive data via incoming HTTP requests.
28115
28146
  - |-
@@ -28122,7 +28153,13 @@ components:
28122
28153
  - |-
28123
28154
  ## WEBHOOK SECURITY MODELS
28124
28155
 
28125
- Webhooks support multiple security verification methods, each requiring different fields:
28156
+ The `provider` decides how a delivery is checked. A `custom` listener applies the
28157
+ `verify` method below; a named provider (`slack`, `shopify`, …) is verified the way
28158
+ that provider signs its webhooks (its form fields mirror that method); and an
28159
+ `integrator-extension` listener ("Celigo integrator.io" tile) is checked for a Celigo
28160
+ API token instead — the `verify` fields below are stored but not evaluated, and a
28161
+ request without `Authorization: Bearer <integrator.io API token>` is answered 401
28162
+ `invalid_request`. The methods below apply to `custom` listeners:
28126
28163
 
28127
28164
  1. **HMAC Verification** (Most secure, recommended for production)
28128
28165
  - Required fields: verify="hmac", key, algorithm, encoding, header
@@ -28183,7 +28220,7 @@ components:
28183
28220
  properties:
28184
28221
  provider:
28185
28222
  type: string
28186
- 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).'
28223
+ 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.'
28187
28224
  x-celigo-ai-guidance:
28188
28225
  - |-
28189
28226
  Specifies the source application sending webhook data,
@@ -28302,7 +28339,7 @@ components:
28302
28339
  parseur: Parseur email parsing event webhooks.
28303
28340
  mailparser-io: Mailparser.io email parsing event webhooks.
28304
28341
  hubspot: HubSpot CRM event webhooks.
28305
- integrator-extension: Celigo integrator extension internal event webhooks.
28342
+ 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).'
28306
28343
  custom: Generic webhook with fully manual security and payload configuration.
28307
28344
  sapariba: SAP Ariba procurement event webhooks.
28308
28345
  happyreturns: Happy Returns return management event webhooks.
@@ -28335,16 +28372,24 @@ components:
28335
28372
  verify:
28336
28373
  type: string
28337
28374
  x-celigo-ui-override: Required by the webhook export form (verify is required:true). Encoded to mirror the form so builders produce connectable configurations.
28338
- description: 'Verification method applied to every incoming request before processing; required for all webhook exports. 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.'
28375
+ 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.'
28339
28376
  x-celigo-ai-guidance:
28340
28377
  - |-
28341
28378
  ## FIELD BEHAVIOR
28342
28379
 
28343
- This field is the primary control for webhook security:
28380
+ This field is the primary control for webhook security on a `custom` listener.
28381
+ On a named provider (`slack`, `shopify`, …) the delivery is checked the way that
28382
+ provider signs its webhooks and these fields mirror that method rather than set it
28383
+ (a `slack` token listener rejects a correct header token; a `shopify` HMAC rejects
28384
+ a correct hex signature). On an `integrator-extension` listener the platform checks
28385
+ for a Celigo API token and this field and its companions are ignored (see
28386
+ `provider`):
28344
28387
 
28345
28388
  - REQUIRED for all webhook exports
28346
28389
  - Determines which additional security fields must be configured
28347
- - Controls how incoming requests are validated before processing
28390
+ - On a `custom` listener, controls how incoming requests are validated before
28391
+ processing; on a named provider the provider's own method is applied; on an
28392
+ `integrator-extension` listener it is not applied at all
28348
28393
  - |-
28349
28394
  ## VERIFICATION METHODS
28350
28395
 
@@ -28405,7 +28450,7 @@ components:
28405
28450
  token: Verifies requests by matching a shared secret token found at a specified location in the request.
28406
28451
  hmac: Verifies requests using a cryptographic HMAC signature sent in a request header.
28407
28452
  basic: Verifies requests using standard HTTP Basic Authentication (username and password).
28408
- secret_url: Relies on a unique, hard-to-guess token embedded in the webhook URL for security.
28453
+ 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`.
28409
28454
  examples:
28410
28455
  - token
28411
28456
  - hmac
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.250",
3
+ "version": "0.2.252",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "ec11f214",
4
+ "iasCommit": "a63b12b5",
5
5
  "generatedAt": "2026-11-06"
6
6
  },
7
7
  "roots": {