Mattermost
communityOpen-source collaboration platform for secure messaging, workflows, and DevOps integrations.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://{instance}/api/v4/postsSend a message
Parameters
propsadditional properties (objectoptionalmessagemessage text (stringrequiredchannel_idchannel ID (stringrequiredReturns
id, create_at, update_at, message, channel_id, user_id, typeGET
https://{instance}/api/v4/teams/{teamId}/channelsList team channels
Parameters
pagepage (integeroptionalteamIdteam ID (stringrequiredper_pageresults (integeroptionalReturns
channels[] with id, team_id, type, display_name, name, purpose, header, total_msg_count, last_post_atPOST
https://{instance}/api/v4/teams/{teamId}/posts/searchSearch messages
Parameters
termssearch query (stringrequiredteamIdteam ID (stringrequiredis_or_searchOR search (booleanoptionalReturns
order[], posts with post_id: {id, message, user_id, channel_id, create_at}