Class WebhookEndpointsClient


  • public class WebhookEndpointsClient
    extends java.lang.Object
    • Constructor Detail

      • WebhookEndpointsClient

        public WebhookEndpointsClient​(ClientOptions clientOptions)
    • Method Detail

      • create

        public WebhookEndpointCreate create​(WebhookEndpointsCreateRequest request)
        Create a new webhook endpoint. The response includes a signingSecret that is only returned once — store it securely for verifying webhook signatures.

        The enabledEvents array specifies which global event types this endpoint should receive. Use the Webhook Events reference to see available event types.

        To subscribe to events scoped to a specific resource (e.g., a single extractor or workflow), use Create Webhook Subscription after creating the endpoint.

      • create

        public WebhookEndpointCreate create​(WebhookEndpointsCreateRequest request,
                                            RequestOptions requestOptions)
        Create a new webhook endpoint. The response includes a signingSecret that is only returned once — store it securely for verifying webhook signatures.

        The enabledEvents array specifies which global event types this endpoint should receive. Use the Webhook Events reference to see available event types.

        To subscribe to events scoped to a specific resource (e.g., a single extractor or workflow), use Create Webhook Subscription after creating the endpoint.

      • retrieve

        public WebhookEndpoint retrieve​(java.lang.String id)
        Retrieve a webhook endpoint by ID.
      • update

        public WebhookEndpoint update​(java.lang.String id)
        Update a webhook endpoint. Only the fields you include in the request body will be updated; omitted fields remain unchanged.

        The apiVersion of a webhook endpoint cannot be changed after creation.

      • update

        public WebhookEndpoint update​(java.lang.String id,
                                      RequestOptions requestOptions)
        Update a webhook endpoint. Only the fields you include in the request body will be updated; omitted fields remain unchanged.

        The apiVersion of a webhook endpoint cannot be changed after creation.

      • update

        public WebhookEndpoint update​(java.lang.String id,
                                      WebhookEndpointsUpdateRequest request)
        Update a webhook endpoint. Only the fields you include in the request body will be updated; omitted fields remain unchanged.

        The apiVersion of a webhook endpoint cannot be changed after creation.

      • update

        public WebhookEndpoint update​(java.lang.String id,
                                      WebhookEndpointsUpdateRequest request,
                                      RequestOptions requestOptions)
        Update a webhook endpoint. Only the fields you include in the request body will be updated; omitted fields remain unchanged.

        The apiVersion of a webhook endpoint cannot be changed after creation.

      • delete

        public WebhookEndpointsDeleteResponse delete​(java.lang.String id)
        Delete a webhook endpoint and all of its subscriptions. This operation is permanent and cannot be undone.