New docs? Check out the change log to learn more!
curl --request PATCH \
--url https://discord.com/api/v10/webhooks/{webhook_id}/{webhook_token} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"avatar": "<string>"
}
'{
"application_id": "<unknown>",
"avatar": "<string>",
"channel_id": "<unknown>",
"id": "<string>",
"name": "<string>",
"type": 3,
"guild_id": "<unknown>",
"user": {
"id": "<string>",
"username": "<string>",
"avatar": "<string>",
"discriminator": "<string>",
"public_flags": 123,
"flags": 0,
"global_name": "<string>",
"primary_guild": "<unknown>",
"bot": true,
"system": true,
"banner": "<string>",
"accent_color": 123,
"avatar_decoration_data": "<unknown>",
"collectibles": "<unknown>"
}
}curl --request PATCH \
--url https://discord.com/api/v10/webhooks/{webhook_id}/{webhook_token} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"avatar": "<string>"
}
'{
"application_id": "<unknown>",
"avatar": "<string>",
"channel_id": "<unknown>",
"id": "<string>",
"name": "<string>",
"type": 3,
"guild_id": "<unknown>",
"user": {
"id": "<string>",
"username": "<string>",
"avatar": "<string>",
"discriminator": "<string>",
"public_flags": 123,
"flags": 0,
"global_name": "<string>",
"primary_guild": "<unknown>",
"bot": true,
"system": true,
"banner": "<string>",
"accent_color": 123,
"avatar_decoration_data": "<unknown>",
"collectibles": "<unknown>"
}
}Discord bot token
152133200 response for update_webhook_by_token
Application webhooks are webhooks used with Interactions
3 Show child attributes