Incoming webhooks: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
No edit summary
Line 9: Line 9:


== Sample webhook ==  
== Sample webhook ==  
<nowiki>https://</nowiki>your_account.planfix.ru/<span style="color:red;">webhook/get/create_task</span>?<span style="color:green;">project</span>=project&<span style="color:green;">name</span>=taskname
<div style="display: block; padding: 1em; margin: 0 0 10px; font-size: 13px; line-height: 1.65; color: black; word-wrap: break-word; background-color: #f9f9f9; border: 1px solid #ddd; border-radius: 4px;">https://your_account.planfix.ru/<span style="color:red;">webhook/get/create_task</span>?<span style="color:green;">project</span>=project&<span style="color:green;">name</span>=taskname</div>





Revision as of 06:17, 9 November 2022

Incoming webhooks are special links that let you create or modify tasks or add contacts to Planfix. They are created using a specific type and parameters.


Sample webhook

https://your_account.planfix.ru/webhook/get/create_task?project=project&name=taskname


When a client or other external user clicks this link, predefined operations launch in Planfix. This is a simple way to link Planfix with another web service or program.

Webhooks can be added to Planfix in the Account management — Incoming webhooks section: bibPsi.png


When you click the New Webhook button, you can select one of the preset configuration options or configure your own webhook: xSs3vB.png


Examples


Important

Incoming webhooks only return JSON with the created task number (2) from the main action (1): ffEp36.png


Go To