product:chat

Get channel type

Changed on

Gets channel type

get/channeltypes/{name}

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/channeltypes/{name}
  • Auth
    • API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
    • or API key in query parameter api_key and API key in header Stream-Auth-Type

Path parameters

namestring required

Channel type name

Response

Response

allowed_flag_reasonsstring[]
automod'disabled' | 'simple' | 'AI' required
automod_behavior'flag' | 'block' | 'shadow_block' required
blockliststring
blocklist_behavior'flag' | 'block' | 'shadow_block'
connect_eventsboolean required
count_messagesboolean required
created_atstring date-time required
custom_eventsboolean required
delivery_eventsboolean required
durationstring required

Duration of the request in milliseconds

grantsobject required
mark_messages_pendingboolean required
max_message_lengthinteger required
message_retentionstring required
mutesboolean required
namestring required
partition_sizeinteger
partition_ttlstring duration
pollsboolean required
push_level'all' | 'all_mentions' | 'mentions' | 'direct_mentions' | 'none'

Sets the push notification level for a channel type

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"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the response property became nullable for the status