The REST API manager the router belongs to.
Readonly
restThe REST API manager the router belongs to.
Create a webhook on Guilded.
The created webhook.
webhooks.create('abc', 'abc', 'Webhook');
The ID of the server the webhook belongs to.
The ID of the channel the webhook belongs to.
The name of the webhook.
Edit a webhook on Guilded.
The edited webhook.
webhooks.edit('abc', 'abc', 'Webhook');
The ID of the server the webhook belongs to.
The ID of the webhook to edit.
The name of the webhook.
Optional
channelId: stringThe ID of the channel the webhook belongs to.
Fetch webhooks from Guilded.
The fetched webhooks.
webhooks.fetchMany('abc', 'abc');
The ID of the server the webhooks belong to.
The ID of the channel to fetch webhooks from.
Fetch a webhook from Guilded.
The fetched webhook.
webhooks.fetchSingle('abc', 'abc');
The ID of the server the webhook belongs to.
The ID of the webhook to fetch.
Create a webhook message on Guilded.
webhooks.send('abc', 'abc', 'Hello world!');
The ID of the webhook.
The token of the webhook.
The payload of the message.
The webhook router for the Guilded REST API.
Example