TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node interacts with the Twenty API to retrieve detailed information about a specific webhook by its unique identifier. It is useful when you need to fetch the configuration or status of a particular webhook previously set up in the Twenty system. For example, you might use this node to verify webhook details before processing events or to audit webhook configurations programmatically.

Properties

Name Meaning
Id The unique identifier of the webhook object you want to retrieve.
Depth Determines how much related nested data to include in the response:
- 0: Only the primary webhook object information.
- 1: The webhook plus its directly related objects (no further nesting).
- 2: The webhook, its directly related objects, and their related objects (two levels deep).

Output

The node outputs JSON data representing the webhook object identified by the provided Id. Depending on the selected depth, the output includes nested related objects to varying degrees, providing comprehensive details about the webhook and its associations. There is no binary data output.

Dependencies

  • Requires an API key credential for authenticating requests to the Twenty API.
  • The node uses the base URL configured via credentials to connect to the Twenty API endpoint.
  • No additional external dependencies are needed beyond the API access.

Troubleshooting

  • Invalid Id Error: If the provided webhook Id does not exist or is malformed, the node will likely return an error indicating the object was not found. Verify the Id value is correct.
  • Authentication Failures: Ensure that the API key credential is valid and has sufficient permissions to read webhook data.
  • Depth Parameter Issues: Providing an unsupported depth value may cause unexpected results or errors. Use only 0, 1, or 2 as specified.
  • Network or API Errors: Check network connectivity and API service status if requests fail unexpectedly.

Links and References

Discussion