Step 1: Configure
- Log in to your admin console by going to https://admin.flock.com (or by choosing "Manage your team" in the Flock desktop app). You will see a screen similar to the one below.
- Click on the Add button next to Incoming Webhook, and you will see the following incoming webhooks configuration window.
Once you've selected a channel, you'll get a webhook endpoint.
Step 2: Send a message
The webhook endpoint accepts JSON packets posted to it. The following command will post a message to your configured channel.
You can send more than just text messages, see Message Object for sending more types of content.