Actions14
- Category Actions
- Product Actions
- Order Actions
- Customer Actions
- Webhook Actions
Webhook → Get List Webhooks
AI-generatedOverview
This node interacts with the KiotViet API to retrieve a paginated list of webhooks configured in the user's KiotViet account. It is useful for scenarios where users need to manage or monitor their webhooks, such as fetching webhook details for integration or auditing purposes. For example, a user can specify the page size and the current item ID to paginate through the list of webhooks.
Use Case Examples
- Retrieve the first 20 webhooks to display in a dashboard.
- Fetch subsequent pages of webhooks by adjusting the current item ID for pagination.
Properties
| Name | Meaning |
|---|---|
| Page Size | Specifies the number of webhook records to retrieve per API call, enabling pagination. |
| Current Item ID | Indicates the starting point (offset) for the list of webhooks to fetch, used for pagination. |
Output
JSON
json- Contains the list of webhooks returned from the KiotViet API, including webhook details such as IDs, URLs, and event types.
Dependencies
- Requires an API key credential for KiotViet to authenticate requests.
Troubleshooting
- If the node throws an error 'Get access_token failed', it indicates an issue with obtaining the API access token. Verify that the API credentials are correctly configured and valid.
- Errors indicating 'Unknown operation' or 'Unknown resource' suggest misconfiguration of the resource or operation parameters; ensure 'Webhook' resource and 'Get List Webhooks' operation are selected.
- Pagination parameters (Page Size and Current Item ID) must be valid numbers; invalid values may cause API request failures.
Links
- KiotViet API Documentation - Official API documentation for KiotViet, useful for understanding webhook endpoints and parameters.