webhooks_get_with_token
Fetch a Discord webhook by ID and token without bot authentication. Use when you hold the webhook token but lack guild access.
Instructions
Purpose: Get a webhook by id + token without bot auth.
When to use:
You hold the token (e.g. from
webhooks_create) but lack guild access.
Auth: Sends NO Authorization: Bot … header - Discord rejects bot auth on token routes.
Returns: Webhook record. token is preserved here (the caller already has it). name remains raw creator-controlled data; untrusted_name provides a separately fenced copy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Webhook secret - treat as credential, do not log | |
| webhook_id | Yes | Webhook to fetch |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||