Mattermost, Inc.

Error getting team's channels

Hi,

I am trying to get channels for team, but I am getting error message

“There doesn’t appear to be an api call for the url=’/api/v3/teams/rk4mc9murp8mixdziw7frdnsza/’. Typo? are you missing a team_id or user_id as part of the url?”

Any idea what’s wrong with this call?

Hi @mgordic - are you trying to get a specific channel on a team, or all channels on a team? I don’t think our api currently supports getting all the channels on a team, but we are working on an APIv4 that should support that. You can join our team site “APIv4” channel for updates if it’s something you’re interested in.

You can check out our api documentation for what’s currently supported and examples - I think the closest thing right now is getting all the channels for one user on a specific team.