Skip to content

How to get messages from a "team" via REST API? #39362

@yaseenm-ymmd

Description

@yaseenm-ymmd

Hi,

My use case requires being able to read the messages being posted (and also historic messages) in a RocketChat team. Looking at the API documentation for Teams, I don't see any endpoint which could do this. I have already tried the related endpoints in Channel and Group, but those (expectedly) don't work with a teamName or teamId.

Is there an easy way or a workaround through which I could retrieve all the messages from a team I'm a member of?

Any help or guide is appreciated. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featurePull requests that introduces new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions