v4

latestOpenAPI 3.1.02026-08-08221179273.1 KB
group-chat

Provision Group Chat

Idempotently provisions:

  1. A Mattermost team for the user's church (if missing)
  2. A Mattermost user for the caller (if missing)
  3. Membership in the team
  4. A fresh PAT for the user

Returns the credentials the RN client needs to connect via WebSocket.

post/api/group-chat/provision

Headers

x-user-idstring nullable

Response

Successful Response

mattermost_urlstring required
team_idstring required
channel_idstring required
user_idstring required
access_tokenstring required