v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-07186533829.2 KB
product:chat

Update channel type

Updates channel type

put/channeltypes/{name}

Path parameters

namestring required

Request body

allowed_flag_reasonsstring[]
automod'disabled' | 'simple' | 'AI' required
automod_behavior'flag' | 'block' | 'shadow_block' required
blockliststring
blocklist_behavior'flag' | 'block' | 'shadow_block'
commandsstring[]

List of commands that channel supports

connect_eventsboolean
count_messagesboolean
custom_eventsboolean
delivery_eventsboolean
grantsobject
mark_messages_pendingboolean
max_message_lengthinteger required
mutesboolean
partition_sizeinteger
partition_ttlstring duration nullable
pollsboolean
push_level'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none'
push_notificationsboolean
quotesboolean
reactionsboolean
read_eventsboolean
remindersboolean
repliesboolean
searchboolean
shared_locationsboolean
skip_last_msg_update_for_system_msgsboolean
typing_eventsboolean
uploadsboolean
url_enrichmentboolean
user_message_remindersboolean

Example request

{
  "partition_ttl": "24h"
}

Response

Successful response

allowed_flag_reasonsstring[]
automod'disabled' | 'simple' | 'AI' required
automod_behavior'flag' | 'block' | 'shadow_block' required
blockliststring
blocklist_behavior'flag' | 'block' | 'shadow_block'
commandsstring[] required
connect_eventsboolean required
count_messagesboolean required
created_atstring date-time required
custom_eventsboolean required
delivery_eventsboolean required
durationstring required
grantsobject required
mark_messages_pendingboolean required
max_message_lengthinteger required
mutesboolean required
namestring required
partition_sizeinteger
partition_ttlstring duration nullable
pollsboolean required
push_level'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none'
push_notificationsboolean required
quotesboolean required
reactionsboolean required
read_eventsboolean required
remindersboolean required
repliesboolean required
searchboolean required
shared_locationsboolean required
skip_last_msg_update_for_system_msgsboolean required
typing_eventsboolean required
updated_atstring date-time required
uploadsboolean required
url_enrichmentboolean required
user_message_remindersboolean required

Example response

{
  "partition_ttl": "24h"
}