Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log in to your admin console by going to https://admin.flock.cocom (or by choosing "Domain admin panelManage your team" in the Flock desktop app). You will see a screen similar to the one below.
    Image RemovedImage Added
  2. Click on the Add button (highlighted in red) next to Incoming Webhook, and you will see the following incoming webhooks configuration window.
    Image RemovedImage Added

    Once you've selected a groupchannel, you'll get a webhook endpoint.

...

The webhook endpoint accepts JSON packets posted to it. The following command will post a message to your configured groupchannel.

Code Block
languagebash
titlecURL
curl -X POST <incoming-webhook-endpoint> -H "Content-Type: application/json" -d '{
   "text": "This is a test message"
}'

...