SendbirdSendbird Chat Platform server-side API v3
POST/v3/{channel_type}/{channel_url}/messages
Send a message
Sends a text, file, or admin message to the channel specified by channel_type and channel_url, with support for uploading files; commonly used for programmatic messages to users.
Manage users, group channels, open channels, messages, metadata, moderation, bots, and announcements through the official Sendbird Chat Platform API v3. The complete boundary is the 83 REST endpoints reconstructed from a pinned official generated SDK revision; client realtime protocols and Chat SDKs are not part of this collection. Application data is the caller's private content, so Pontx does not proxy, cache, or aggregate it and callers use the local SDK/CLI directly.
Request
- operationId
sendAMessage- Server
https://api-{app_id}.sendbird.com- Authentication
- apiTokenAuth
Request parameters
channel_type
pathstringrequired
channel type field.
open_channels
channel_url
pathstringrequired
Channel URL.
group_channel_123
Request body
Properties: apns_bundle_idapple_critical_alert_optionscreated_atcustom_typedatadedup_idfilesinclude_poll_detailsis_silentmark_as_readmention_typementioned_user_idsmessagemessage_typepoll_idpush_message_templaterequire_authsend_pushsorted_metaarraysoundthumbnail1thumbnail2thumbnail3thumbnailsuser_idvolume
Responses
200
SendbirdMessageResponseapplication/json
Request succeeded.
Properties: channel_typechannel_urlcreated_atcustom_typedataextended_message_payloadfilefilesis_op_msgis_removedis_reply_to_channelmention_typementioned_usersmessagemessage_eventsmessage_idmessage_retention_hourmessage_survival_secondsparent_message_idparent_message_inforeactionsreq_idrequire_authsilentsorted_metaarraythread_infotranslationstypeupdated_atuser
400
SendbirdApiErrorapplication/json
Request parameters are invalid.
Properties: codemessage
401
SendbirdApiErrorapplication/json
Unauthenticated or the API token is invalid.
Properties: codemessage
403
SendbirdApiErrorapplication/json
Access to the resource is forbidden.
Properties: codemessage
404
SendbirdApiErrorapplication/json
The requested resource was not found.
Properties: codemessage
429
SendbirdApiErrorapplication/json
Rate limited; retry later.
Properties: codemessage
500
SendbirdApiErrorapplication/json
Upstream internal error.
Properties: codemessage
{
"channel_type": "default",
"channel_url": "group_channel_123",
"created_at": 1,
"custom_type": "default",
"data": "{\"key\":\"value\"}",
"files": {
"file_name": "Example Channel",
"file_size": 1,
"file_type": "default",
"require_auth": true,
"thumbnails": [],
"url": "url_value"
}
}