<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Webhooks on WebNotes</title><link>https://v2.webnotes.in/tags/webhooks/</link><description>Recent content in Webhooks on WebNotes</description><generator>Hugo</generator><language>en-IN</language><lastBuildDate>Tue, 12 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://v2.webnotes.in/tags/webhooks/index.xml" rel="self" type="application/rss+xml"/><item><title>How to use postback URLs on Kite Connect</title><link>https://v2.webnotes.in/how-to-use-postback-urls-kite-connect/</link><pubDate>Tue, 12 May 2026 00:00:00 +0000</pubDate><guid>https://v2.webnotes.in/how-to-use-postback-urls-kite-connect/</guid><description>&lt;p&gt;The &lt;a href="https://v2.webnotes.in/kite-connect-api/"&gt;Kite Connect API&lt;/a&gt;
 includes a postback (webhook) mechanism that pushes order update notifications to your server the moment an order changes state. Instead of polling &lt;code&gt;GET /orders&lt;/code&gt; repeatedly, your server receives an HTTP POST at the registered postback URL each time an order moves from &lt;code&gt;OPEN&lt;/code&gt; to &lt;code&gt;COMPLETE&lt;/code&gt;, &lt;code&gt;REJECTED&lt;/code&gt;, &lt;code&gt;CANCELLED&lt;/code&gt;, or any intermediate state. This guide covers registration, checksum verification, a Python server implementation, and production hardening.&lt;/p&gt;
&lt;aside class="callout callout--key" role="note"&gt;
 &lt;strong class="callout__label"&gt;Prerequisites&lt;/strong&gt;
 &lt;div class="callout__body"&gt;&lt;ul&gt;
&lt;li&gt;An active Kite Connect subscription (Rs 2,000/month plus GST). See &lt;a href="https://v2.webnotes.in/how-to-generate-kite-connect-api-key/"&gt;How to generate a Kite Connect API key&lt;/a&gt;
.&lt;/li&gt;
&lt;li&gt;A valid &lt;code&gt;api_key&lt;/code&gt; and &lt;code&gt;api_secret&lt;/code&gt;. Postback integrity verification requires the &lt;code&gt;api_secret&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A publicly accessible HTTPS server where Zerodha can deliver POST requests. Zerodha requires HTTPS; plain HTTP postback URLs are not accepted in production.&lt;/li&gt;
&lt;li&gt;Basic familiarity with HTTP servers in Python (Flask or similar).&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/aside&gt;

&lt;aside class="callout callout--info" role="note"&gt;
 &lt;strong class="callout__label"&gt;Conflict-of-interest disclosure&lt;/strong&gt;
 &lt;div class="callout__body"&gt;WebNotes is an independent knowledge base. This guide is not sponsored by Zerodha or any third party.&lt;/div&gt;
&lt;/aside&gt;

&lt;h2 id="what-is-a-postback-url"&gt;What is a postback URL?&lt;/h2&gt;
&lt;p&gt;A postback URL is an HTTP POST endpoint you register in the Kite Connect developer console. Whenever an order placed through your app changes state at Zerodha&amp;rsquo;s OMS (Order Management System), Zerodha sends an HTTP POST request to your postback URL with the updated order details in the request body.&lt;/p&gt;</description></item></channel></rss>