This library provides easy access to the Relay Webhooks Resource.
Note: All methods return promises and accept an optional last argument callback. Read about how we handle callbacks and promises.
- list()
List all relay webhooks. - get(id)
Get details about a specified relay webhook by its idid
- the id of the relay webhook you want to look up required
- create(webhook)
Create a new relay webhookwebhook
- an object of relay webhook attributes required
- update(id, webhook)
Update an existing relay webhookid
- the id of the relay webhook you want to update requiredwebhook
- an object of relay webhook attributes required
- delete(id)
Delete an existing relay webhookid
- the id of the relay webhook you want to delete required
Visit our examples section to see all of our relay webhook resource examples.