Datatypes

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

ValueDescription
https://discord.com/api/webhooks/ invalidRoute without the webhook ID and token

Sources

Use this record