Actions12
- Product Actions
- Customer Actions
- Order Actions
- Webhook Actions
Webhook → Get List Webhooks
AI-generatedOverview
This node interacts with the Sapo API to retrieve a list of webhooks configured in the user's Sapo account. It supports pagination, limiting the number of results, filtering by a starting ID, and selecting specific fields to return. This is useful for users who want to manage or monitor their webhooks programmatically, such as integrating webhook data into workflows or automating webhook management.
Use Case Examples
- Retrieve the first 20 webhooks to display in a dashboard.
- Fetch webhooks starting from a specific ID to sync webhook configurations.
- Limit the fields returned to only those necessary for a specific integration.
Properties
| Name | Meaning |
|---|---|
| Page | The page number of the webhook list to retrieve, used for pagination. |
| Limit | The maximum number of webhooks to return per request. |
| Since ID | The ID from which to start listing webhooks, useful for incremental fetching. |
| Fields | Specific fields of the webhook objects to return, allowing for customized responses. |
Output
JSON
json- The JSON response containing the list of webhooks retrieved from the Sapo API.
Dependencies
- Sapo API with an API key credential
Troubleshooting
- Ensure the API key credential is correctly configured and has the necessary permissions to access webhook data.
- Check that the 'page', 'take', 'since_id', and 'fields' parameters are correctly set and valid according to the Sapo API documentation.
- Common error messages include 'Unknown operation' if the operation name is incorrect, or 'Unknown resource' if the resource name is invalid. Verify these parameters in the node configuration.
Links
- Sapo API Documentation - Official documentation for the Sapo API, useful for understanding available endpoints and parameters.