Directus (flagbit) icon

Directus (flagbit)

Consume Directus API

Webhook → Get

AI-generated

Overview

This node is designed to retrieve a specific webhook by its primary key (ID) from a Directus system. It is useful in scenarios where you need to fetch details of a particular webhook for monitoring, debugging, or integration purposes. For example, you might use this node to get the configuration or status of a webhook that triggers on certain events in your application.

Use Case Examples

  1. Retrieve webhook details by providing the webhook ID to monitor its configuration.
  2. Fetch a webhook's information to verify its setup before triggering it manually.

Properties

Name Meaning
ID Primary key of the webhook to retrieve

Output

JSON

  • id - The unique identifier of the webhook
  • url - The URL to which the webhook sends requests
  • method - HTTP method used by the webhook
  • headers - Headers included in the webhook request
  • status - Current status of the webhook (e.g., active, inactive)
  • created_at - Timestamp when the webhook was created
  • updated_at - Timestamp when the webhook was last updated

Dependencies

  • Requires connection to a Directus API with appropriate authentication credentials to access webhook data.

Troubleshooting

  • Ensure the provided webhook ID exists; otherwise, the node will return an error indicating the webhook was not found.
  • Verify that the API credentials have sufficient permissions to read webhook data.
  • Check network connectivity to the Directus API endpoint to avoid request failures.

Links

Discussion