Updates the user’s settings for a specific guild, such as notification preferences and visibility settings. Guild-specific settings override default settings.
curl --request PATCH \
--url https://api.fluxer.app/v1/users/@me/guilds/{guild_id}/settings \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"message_notifications": 0,
"muted": true,
"mute_config": {
"selected_time_window": 123,
"end_time": "<string>"
},
"mobile_push": true,
"suppress_everyone": true,
"suppress_roles": true,
"hide_muted_channels": true,
"channel_overrides": {}
}
'{
"guild_id": "<string>",
"message_notifications": 0,
"muted": true,
"mute_config": {
"end_time": "<string>",
"selected_time_window": 1073741823
},
"mobile_push": true,
"suppress_everyone": true,
"suppress_roles": true,
"hide_muted_channels": true,
"channel_overrides": {},
"version": 1073741823
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the guild
Default guild notification level
0, 1, 2, 3 Guild muted
Guild mute configuration
Show child attributes
Mobile push notifications enabled
Suppress @everyone mentions
Suppress role mentions
Hide muted channels
Per-channel overrides
Show child attributes
Success
The ID of the guild these settings apply to
The default notification level for the guild
0, 1, 2, 3 Whether the guild is muted
The mute configuration for the guild
Show child attributes
Whether mobile push notifications are enabled
Whether @everyone mentions are suppressed
Whether role mentions are suppressed
Whether muted channels are hidden in the sidebar
Per-channel notification overrides
Show child attributes
The version number of these settings for sync
0 <= x <= 2147483647curl --request PATCH \
--url https://api.fluxer.app/v1/users/@me/guilds/{guild_id}/settings \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"message_notifications": 0,
"muted": true,
"mute_config": {
"selected_time_window": 123,
"end_time": "<string>"
},
"mobile_push": true,
"suppress_everyone": true,
"suppress_roles": true,
"hide_muted_channels": true,
"channel_overrides": {}
}
'{
"guild_id": "<string>",
"message_notifications": 0,
"muted": true,
"mute_config": {
"end_time": "<string>",
"selected_time_window": 1073741823
},
"mobile_push": true,
"suppress_everyone": true,
"suppress_roles": true,
"hide_muted_channels": true,
"channel_overrides": {},
"version": 1073741823
}