Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 2.93 KB

README.md

File metadata and controls

51 lines (34 loc) · 2.93 KB

Webhooks

(integrations.webhooks)

Overview

Available Operations

  • retrieve - Get webhook support status for provider

retrieve

Return the status of the webhook for this provider, if it is supported or if it is not based on a boolean value

Example Usage

from novu_py import Novu
import os

with Novu(
    secret_key=os.getenv("NOVU_SECRET_KEY", ""),
) as novu:

    res = novu.integrations.webhooks.retrieve(provider_or_integration_id="<id>")

    # Handle response
    print(res)

Parameters

Parameter Type Required Description
provider_or_integration_id str ✔️ N/A
idempotency_key Optional[str] A header for idempotency purposes
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

models.IntegrationsControllerGetWebhookSupportStatusResponse

Errors

Error Type Status Code Content Type
models.ErrorDto 414 application/json
models.ErrorDto 400, 401, 403, 404, 405, 409, 413, 415 application/json
models.ValidationErrorDto 422 application/json
models.ErrorDto 500 application/json
models.APIError 4XX, 5XX */*