Skip to main content

Endpoint list

This document lists all available Platform Chat API endpoints.

tip
  • All Platform Chat API endpoints use the POST method.
  • If this is your first time using the API, we strongly recommend reviewing Getting started first.

Default behaviors

Keep the following default behaviors in mind when integrating the Platform Chat API:

  1. Your App Server can send messages directly via the API. When sending as a user to a group or open channel, the user does not need to be a member.
  2. API calls from your App Server are not recorded in the Console's connection logs. However, messages sent via the API can be queried through the Console's message flow tool.
  3. If your app uses profanity filters, message callbacks, or third-party moderation, messages sent via the API are not filtered by default. To enable filtering, turn on Moderate messages sent by server API on the Chat settings page.
  4. If full message routing is enabled, messages sent via the API are not routed by default. To enable routing, turn on Include Server API Messaging in post-event webhooks on the Chat settings page.

User management

EndpointAPI URLRate limit
Register a user/v4/auth/access-token/issue200/sec
Expire an access token/v4/auth/access-token/expire100/sec
Get user info/v4/user/get100/sec
Update user info/v4/user/update100/sec
Soft-delete a user/v4/user/soft-delete100 users/sec
Query soft-deleted users/v4/user/soft-deleted/list100/sec
Restore a user/v4/user/restore100 users/sec
Ban a user/v4/user/ban100/sec
Unban a user/v4/user/unban100/sec
List banned users/v4/user/ban/list100/sec
Check user online status/v4/user/online-status/get100/sec
Mute a user in direct channels/v4/channel-type/mute/set100/sec
List muted direct channel users/v4/channel-type/mute/list100/sec
Batch set user tags/v4/user/tag/batch/set10/sec
Get user tags/v4/user/tag/batch/get100/sec

User blocklist

EndpointAPI URLRate limit
Add to blocklist/v4/user/blocklist/add100/sec
Remove from blocklist/v4/user/blocklist/remove100/sec
Get blocklist/v4/user/blocklist/get100/sec

Message management

EndpointAPI URLRate limit
Send a direct message/v4/direct-channel/message/send6,000 msgs/min (by recipient count)
Send a group message/v4/group-channel/message/send20/sec (by target group count)
Send a community channel message/v4/community-channel/message/send100/sec (by target group count); 20/sec per channel
Send an open channel message/v4/open-channel/message/send100/sec (by target open channel count)
Broadcast to all open channels/v4/open-channel/message/broadcast1/sec
Set message metadata/v4/message/metadata/set100/sec (max 20 for group messages)
Delete message metadata/v4/channel-type/message/metadata/delete100/sec (max 20 for group messages)
Get message metadata/v4/channel-type/message/metadata/list100/sec
Delete a message (recall)/v4/message/delete100/sec
Clear messages/v4/channel/message/history/clean100/sec

Channel management

EndpointAPI URLRate limit
Pin a channel/v4/channel/pin/set100/sec
Get channel attributes/v4/channel/attribute/get100/sec
Set channel DND/v4/channel/push/set100/sec
Get channel DND/v4/channel/notification/get100/sec
Set DND by channel type/v4/channel-type/notification/set100/sec
Get DND by channel type/v4/channel-type/notification/get100/sec
Add user channel tag/v4/user/channel/tag/add100/sec
Remove user channel tag/v4/user/channel/tag/remove100/sec
Add tag to channel/v4/channel/tag/add100/sec
Remove tag from channel/v4/channel/tag/remove100/sec
Get channels by tag/v4/channel/tag/list100/sec

System messages

EndpointAPI URLRate limit
Send a system message/v4/system-channel/message/send100 msgs/sec (by recipient count)
Recall a system message/v4/message/delete100/sec
Broadcast to all users (persistent)/v4/system-channel/message/broadcast-all2/hour, 3/day
Broadcast to online users/v4/system-channel/message/broadcast-online60/min
Push to tagged users/v4/system-channel/push2/hour, 3/day (shared)
Push by app package name/v4/system-channel/push2/hour, 3/day (shared)
Recall broadcast to all users/v4/system-channel/message/broadcast/delete2/hour, 3/day

Group channel management

EndpointAPI URLRate limit
Create a group/v4/group-channel/create100/sec
Dismiss a group/v4/group-channel/dismiss100/sec
Join a group/v4/group-channel/join100/sec
Leave a group/v4/group-channel/quit100/sec
Query group members/v4/group-channel/member/list100/sec
Query user's groups/v4/group-channel/joined/list100/sec
Update group info/v4/group-channel/profile/update100/sec

Group channel mute and freeze

EndpointAPI URLRate limit
Mute a group member/v4/group-channel/user/mute-list/add100/sec
Unmute a group member/v4/group-channel/user/mute-list/remove100/sec
List muted group members/v4/group-channel/user/mute-list-get100/sec
Freeze a group/v4/group-channel/freeze-list/add100/sec
Unfreeze a group/v4/group-channel/freeze-list/remove100/sec
Query group freeze status/v4/group-channel/freeze-list/get100/sec
Add to allowed senders list/v4/group-channel/allowed-sender-list/add100/sec
Remove from allowed senders list/v4/group-channel/allowed-sender-list/remove100/sec
Query allowed senders list/v4/group-channel/allowed-sender-list/get100/sec

Open channel management

EndpointAPI URLRate limit
Create an open channel/v4/open-channel/create100/sec
Set auto-destroy type/v4/open-channel/destroy-type/set100/sec
Destroy an open channel/v4/open-channel/destroy100/sec
Get open channel info/v4/open-channel/get100/sec

Open channel participants and moderation

EndpointAPI URLRate limit
List participants/v4/open-channel/participant/list100/sec
Check if a user is a participant/v4/open-channel/participant/exist100/sec
Batch check participants/v4/open-channel/participant/exist100/sec
Mute a participant/v4/open-channel/participant/mute-list/add100/sec
Unmute a participant/v4/open-channel/participant/mute-list/remove100/sec
List muted participants/v4/open-channel/participant/mute-list/get100/sec
Freeze an open channel/v4/open-channel/freeze-list/add100/sec
Unfreeze an open channel/v4/open-channel/freeze-list/remove100/sec
List frozen open channels/v4/open-channel/freeze-list/get100/sec
Check open channel freeze status/v4/open-channel/freeze/check100/sec
Add to allowed senders list/v4/open-channel/participant/allowed-sender-list/add100/sec
Remove from allowed senders list/v4/open-channel/participant/allowed-sender-list/remove100/sec
Query allowed senders list/v4/open-channel/participant/allowed-sender-list/get100/sec
Mute a user globally/v4/open-channel/participant/global-mute-list/add100/sec
Unmute a user globally/v4/open-channel/participant/global-mute-list/remove100/sec
List globally muted users/v4/open-channel/participant/global-mute-list/get100/sec
Ban a participant/v4/open-channel/participant/ban-list/add100/sec
Unban a participant/v4/open-channel/participant/ban-list/remove100/sec
List banned participants/v4/open-channel/participant/ban-list/get100/sec

Open channel metadata (KV)

tip

The rate limits marked "shared" in this section do not have independent quotas. Set and batch-set share a combined limit of 100 attributes per second. Delete and batch-delete share a separate combined limit of 100 attributes per second.

EndpointAPI URLRate limit
Batch set metadata/v4/open-channel/metadata/batch/set100 attrs/sec (shared)
Batch delete metadata/v4/open-channel/metadata/batch/remove100 attrs/sec (shared)
Query metadata/v4/open-channel/metadata/batch/get100/sec

Open channel message priority

EndpointAPI URLRate limit
Add low-priority message types/v4/open-channel/low-priority-message-type-list/add100/sec
Remove low-priority message types/v4/open-channel/low-priority-message-type-list/remove100/sec
Query low-priority message types/v4/open-channel/low-priority-message-type-list/get100/sec

Open channel priority senders and priority messages

EndpointAPI URLRate limit
Add priority senders/v4/open-channel/participant/priority-sender-list/add100/sec
Remove priority senders/v4/open-channel/participant/priority-sender-list/remove100/sec
Query priority senders/v4/open-channel/participant/priority-sender-list/get100/sec
Add priority message types/v4/open-channel/priority-message-type-list/add100/sec
Remove priority message types/v4/open-channel/priority-message-type-list/remove100/sec
Query priority message types/v4/open-channel/priority-message-type-list/get100/sec