From a6a95174ea55f1aa5f4b4e19dcef04a8cf2f91a1 Mon Sep 17 00:00:00 2001 From: Olivier RICARD Date: Mon, 14 Nov 2016 15:40:26 +0100 Subject: [PATCH] add labels in incoming webhooks --- _docs/incoming-webhooks.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/_docs/incoming-webhooks.md b/_docs/incoming-webhooks.md index a7c173c..9fbea14 100644 --- a/_docs/incoming-webhooks.md +++ b/_docs/incoming-webhooks.md @@ -104,5 +104,24 @@ The result: ![](/images/docs/post-through-incoming-webhook4.png){: .align-center} +## Labels + +In the *Pro* plan, it's possible to create incoming webhooks with labels. Copy-paste the id of the label and add the field labels in the payload + + { + "title": "First post through Incoming Webhook", + "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.", + "url": "https://www.talkspirit.com/", + "labels": [ + "5829ccae8fdf08454b8b4567", + "5829ccb08fdf085c4b8b4568" + ], + "contact": { + "display_name": "Incoming Webhook bot", + "url": "https://www.talkspirit.com/", + "icon": "https://talkspirit.github.io/images/talkspirit-bot-avatar.png" + } + } + [create-incoming-webhook]: /docs/create-incoming-webhook/