Creates a new webhook in the specified channel with the provided name and optional avatar. Returns the newly created webhook object including its ID and token.
curl --request POST \
--url https://api.fluxer.app/v1/channels/{channel_id}/webhooks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"avatar": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"guild_id": "<string>",
"channel_id": "<string>",
"name": "<string>",
"token": "<string>",
"user": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
},
"avatar": "<string>"
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the channel
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
Show child attributes
The hash of the webhook avatar image
curl --request POST \
--url https://api.fluxer.app/v1/channels/{channel_id}/webhooks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"avatar": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"guild_id": "<string>",
"channel_id": "<string>",
"name": "<string>",
"token": "<string>",
"user": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
},
"avatar": "<string>"
}