Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
Webhook → Get
AI-generatedOverview
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
- Retrieve webhook details by providing the webhook ID to monitor its configuration.
- 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 webhookurl- The URL to which the webhook sends requestsmethod- HTTP method used by the webhookheaders- Headers included in the webhook requeststatus- Current status of the webhook (e.g., active, inactive)created_at- Timestamp when the webhook was createdupdated_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
- Directus Webhooks API Documentation - Official documentation for managing webhooks in Directus, including retrieving webhook details.