Constructors

Methods

Constructors

Methods

  • Delete a webhook

    Parameters

    • webhookId: string

      The ID of the webhook to delete

    Returns Promise<AppResponse>

    The response from the API

  • Edit a webhook

    Parameters

    • webhookId: string

      The ID of the webhook to edit

    • webhook: Webhook

      The webhook to edit

    Returns Promise<AppResponse>

    The response from the API

  • Get a webhook by its ID

    Parameters

    • webhookId: null | string

      The ID of the webhook to get, or null to get all webhooks

    Returns Promise<AppResponse>

    The response from the API