fastify-x-signwell
xsignwell.webhooks.list
Retrieve all registered SignWell webhook endpoints for the account.
xsignwell.webhooks.list
Fetch all webhook endpoints registered with SignWell for the current account.
Signature
fastify.xsignwell.webhooks.list(): Promise<Array>
Params
None.
Returns
Array of registered webhook objects, each containing id, callback_url, and event.
Throws
- Re-throws SignWell API errors with
statusCodeandsignwellErrorproperties.
Examples
List all registered webhooks
const webhooks = await fastify.xsignwell.webhooks.list();
webhooks.forEach((wh) => console.log(wh.id, wh.callback_url, wh.event));
See also
- webhooks.create — register a new webhook endpoint
- webhooks.delete — remove a registered webhook
AI Context
package: "@xenterprises/fastify-xsignwell"
method: fastify.xsignwell.webhooks.list()
use-when: Retrieve all registered SignWell webhook endpoints for the current account
returns: array of webhook objects with id, callback_url, event
