Incoming webhooks: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
 
(2 intermediate revisions by one other user not shown)
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;"><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>




Line 25: Line 25:
*[[Webhooks with GET requests]]
*[[Webhooks with GET requests]]
*[[Webhooks with POST requests]]
*[[Webhooks with POST requests]]
 
*[[Webhook receives data from Jenkins]]


== Important ==
== Important ==

Latest revision as of 11:24, 27 February 2024

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