DataConnectorManageWebhookAction

A "synchronous" style action indicating that Lucid would like to setup a webhook in the third party.

Extends


Constructors

new DataConnectorManageWebhookAction()

new DataConnectorManageWebhookAction(
   context, 
   webhookToken, 
   webhooks): DataConnectorManageWebhookAction

Parameters

ParameterTypeDescription
contextDataConnectorActionContext-
webhookTokenstringToken to be added to the newly created webhook so that when it fires it will have permissions to make changes to Lucid documents.
webhooksWebhook[]A list of existing webhooks so you can be more granular about what you track. You may also find it useful to delete some of the existing webhooks. The response back to Lucid should include all existing webhooks (newly created or any of these that were not deleted).

Returns

DataConnectorManageWebhookAction

Overrides

DataConnectorAction.constructor


Properties

context

context: DataConnectorActionContext;

Inherited from

DataConnectorAction.context


name

name: string;

Inherited from

DataConnectorAction.name


webhookToken

webhookToken: string;

Token to be added to the newly created webhook so that when it fires it will have permissions to make changes
to Lucid documents.


webhooks

webhooks: Webhook[];

A list of existing webhooks so you can be more granular about what you track. You may also find it useful to
delete some of the existing webhooks. The response back to Lucid should include all existing webhooks (newly
created or any of these that were not deleted).