Updates the specified webhook using its ID and token for authentication. Allows modification of name or avatar. Returns the updated webhook object without creator user data.
curl --request PATCH \
--url https://api.fluxer.app/v1/webhooks/{webhook_id}/{token} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"avatar": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"guild_id": "<string>",
"channel_id": "<string>",
"name": "<string>",
"token": "<string>",
"avatar": "<string>"
}The ID of the webhook
The token
Success
The unique identifier (snowflake) for the webhook
The ID of the guild this webhook belongs to
The ID of the channel this webhook posts to
The display name of the webhook
The secure token used to execute the webhook
The hash of the webhook avatar image
curl --request PATCH \
--url https://api.fluxer.app/v1/webhooks/{webhook_id}/{token} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"avatar": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"guild_id": "<string>",
"channel_id": "<string>",
"name": "<string>",
"token": "<string>",
"avatar": "<string>"
}