webhooks_get_with_token
webhooks_get_with_token
Section titled “webhooks_get_with_token”Category: webhooks
Get a webhook by id + token without bot auth.
When to use
Section titled “When to use”- You hold the token (e.g. from
webhooks_create) but lack guild access.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
webhook_id | string | yes | Webhook to fetch |
token | string | yes | Webhook secret — treat as credential, do not log |
Returns
Section titled “Returns”Webhook record. token is preserved here (the caller already has it). name wrapped untrusted.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | Discord webhook ID |
type | integer | yes | |
channel_id | unknown | yes | |
application_id | unknown | yes | |
name | unknown | yes | |
avatar | unknown | yes | |
token | string | no | Discord webhook token (secret — treat as credential, do not log) |
untrusted_name | string | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |