Hi @serge
Let me start by saying that the private token that gitlab returns its not the same one as Mattermost, you need to authenticate the user against Mattermost and then use the Token returned (can be found in the header).
For more info on how to make Authorized request to the Mattermost API please see the API documentation