Incoming Webhooks
Mattermost supports webhooks to easily integrate external applications into the server.
Use incoming webhooks to post messages to Mattermost public channels, private channels and direct messages. Messages are sent via an HTTP POST request to a Mattermost URL generated for each application and contain a specifically formatted JSON payload in the request body.