Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation, Get Webhook Subscriptions, retrieves the list of webhook subscriptions associated with a specific account. It is useful for scenarios where you need to monitor or manage webhook endpoints registered on an external service, such as checking which webhooks are active or verifying their configurations.

Practical examples include:

  • Auditing all webhook subscriptions for an account before making changes.
  • Fetching webhook subscription details to display in a dashboard.
  • Automating cleanup or updates of webhook subscriptions based on current data.

Properties

Name Meaning
Account Id Identifier of the account whose webhook subscriptions you want to retrieve

Output

The output contains a JSON object representing the webhook subscriptions retrieved for the specified account. The structure typically includes details about each webhook subscription such as its ID, URL, event types subscribed to, status, and other metadata depending on the external API's response schema.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential or similar authentication token configured in n8n to access the external service's API.
  • The node depends on the external service's API endpoint that manages webhook subscriptions.
  • Proper base URL and authentication credentials must be set up in the node configuration.

Troubleshooting

  • Common issues:

    • Invalid or missing Account Id will cause the request to fail.
    • Authentication errors if the API key or token is incorrect or expired.
    • Network connectivity problems can prevent reaching the external API.
    • Insufficient permissions on the API key may result in authorization errors.
  • Error messages:

    • "Unauthorized" or "Authentication failed": Check API credentials and renew if necessary.
    • "Account not found" or similar: Verify the Account Id is correct and exists.
    • "Request timeout" or "Network error": Ensure network connectivity and API availability.

Links and References

  • Refer to the external service’s official API documentation for webhook subscription management for detailed schema and additional parameters.
  • n8n documentation on how to configure API credentials and use HTTP request nodes for custom integrations.

Discussion