Skip to content

ConnectorApiEndpointTemplate

Type: Object

An ApiEndpointTemplate will be turned into an ApiEndpoint on installation. This allows a Connector to bind to incoming HTTP requests from an external system. ApiEndpoints give event-driven capabilities in response to changes in other systems, an efficient and reliable way of building sophisticated connectivity.

Any required configuration options should be defined in the Connector's configuration.

IMPORTANT: This requires a connectivity path to the platform from the external system. If this is hosted on the internet and publically available, then this should be simple, but other topographies may require additional configuration or infrastructure.

Fields

NameTypeArgsDescriptionDeprecated
contentTypeContentTypeEnum!The expected incoming content type to enable parsing of the request body, if present
functionTemplateString!The Lua script to run when a webhook request is received by this ApiEndpoint.
httpVerbHttpVerbEnum!The HTTP Verb to respond to
nameString!A name to refer to the Webhook by, aids in human comprehension
pathString!The path to respond on, this is nested under the Connector's base url and supports dynamic path segments, e.g. /users/:id

Connect. Combine. Collaborate.
The pioneering open integration platform, dedicated to transforming connectivity in the printing industry.