Channel Developers

thumbnail

Send a message to a Group

POST message via groupId

Send a message to a Group by groupId

Accessible via URL https://api.channel.io/open/v5/groups/{groupId}/messages and HTTP POST

The POST request body should be a Message object. This method accepts application/json

Parameter

Example

Required

Description

Parameter type

groupId

1234

Required

Id of Group

Path

botName

channelBot

Optional

Name of the Bot that sends the message

Query

POST https://api.channel.io/open/v5/groups/1234/messages?botName=channelBot

POST message via groupName

Send a new message to Group by groupName

Accessible via URL https://api.channel.io/open/v5/groups/@{groupName}/messages and HTTP POST

This POST request body should be a MessaThis method accepts application/json

Parameter

Example

Required

Description

Parameter Type

groupName

justgroup

Required

Name of Group

Path

botName

channelBot

Optional

Name of the Bot that sends the message

Query

POST https://api.channel.io/open/v5/groups/@justgroup/messages?botName=channelBot

Your POST request body should look like

JSON

Returns a newly created message object.

JSON