megaphone icon We're improving your developer experience.
Edit on GitHub

Use Mattermost REST APIs with Apps

See here to learn more authenticating to the REST APIs

Apps API 

The go driver appclient.Client support method for KV Get/Set/Delete.

The KV APIs require the use of the bot account Token, and will fail if a user token is provided.

Mattermost REST API 

appclient.Client does includes the model.Client4 Mattermost REST API client, pre-initialized with the auth token.