GET /api/groups/:group_id/chat_messages

get a list of chat messages for a group

Success Response Code: 200

Params

Param name Description
group_id
required

ID of the group for which to retrieve the chat messages


Value: Must be a Integer
chat_message_id
optional

ID of a chat message for which to retrieve pages of results in ascending order. Ignored if page is provided


Value: Must be a Integer

Response Fields

chat_messages chat messages selected Array<Message>
chat_messages_next_page next page number for :chat_messages. Null if next page would not have any results Integer
chat_messages_current_page current page number for :chat_messages Integer

Example Curl Commands

curl -X GET -v --basic -u "emily@socialcast.com:demo" https://demo.socialcast.com/api/groups/12/chat_messages.json