Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Overview

This node operation retrieves details of a specific webhook subscription from an external service. It is useful when you need to fetch the current configuration or status of a webhook subscription by providing its unique identifiers. For example, you might use this node to verify that a webhook subscription exists, check its properties, or debug webhook delivery issues.

Properties

Name Meaning
Account Id Identifier of the account associated with the webhook subscription. This is required to specify the scope of the subscription.
Subscription Id Identifier of the specific webhook subscription to retrieve. This uniquely identifies the subscription within the account.

Output

The node outputs a JSON object representing the webhook subscription details. This typically includes all relevant information about the subscription such as its configuration, status, and metadata. The exact structure depends on the external API's response but generally contains fields like subscription ID, event types subscribed to, endpoint URL, and creation timestamps.

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.
  • The node uses a base URL and headers preset for JSON communication with the API.
  • The external service must support fetching webhook subscription details via REST API.

Troubleshooting

  • Missing or invalid Account Id or Subscription Id: Ensure both identifiers are provided and correct; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key or authentication token is correctly set up in n8n credentials.
  • Network or API errors: Check connectivity and API availability. Review error messages returned by the API for guidance.
  • Unexpected response format: If the output JSON does not match expectations, confirm the API version and subscription existence.

Links and References

  • Refer to the external service’s official API documentation for webhook subscription management.
  • Consult n8n documentation on setting up API credentials and using HTTP request nodes for custom integrations.

Discussion