Discord webhook URL
ID discord_webhook_url
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
URL of a Discord webhook: the API route /webhooks/<webhook id>/<webhook token> on discord.com. Anyone who knows the URL can post messages to the channel, so the URL itself is the secret. The regexp also accepts an API version in the path, the ptb and canary hosts and the former discordapp.com domain, as the pyWhat tool does.
- Categories
- Secrets and credentials (passwords, keys, tokens)
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 70/100 · missing: examples, mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Cloudflare DLP, GitGuardian, pyWhat
Regular expression
^https://(?:(?:ptb|canary)\.)?discord(?:app)?\.com/api(?:/v[0-9]+)?/webhooks/[0-9]+/[A-Za-z0-9_-]+$
Python re syntax.
Examples
| Value | Description |
|---|---|
| https://discord.com/api/webhooks/ invalid | Route without the webhook ID and token |
Sources
- doc: https://docs.discord.com/developers/resources/webhook
- other: https://github.com/bee-san/pyWhat/blob/main/pywhat/Data/regex.json
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/discord_webhook_url - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/secrets/discord_webhook_url.yamlon GitHub