Hi team,

For past few days I am trying to collect information for implementing postback. I am finding it extremely difficult to achieve postback done.

I tried using google pub sub. I implemented the google pub sub and I can see that I am being able to capture data while I am doing a post request myself.

I am not able to replicate the same thing from zerodha postback, even though I have updated the https adress in the postback bar.

also, most of the pages , I see that in the answer you refer to the Kite APi documentation. I have gone through the documentation but probably I need more information than just a link to the documentation.

I have seen that github , facebook chatbots all have very detailed instructions for their user to implement the postback on their side. It would be great if you could help in setting this up so that I do not keep on hitting/polling the kite website for the orders status.
  • sujith
    Hi @Rishant,
    I think it is an easy test.
    Now that you have setup endpoint, you just need to listen to post request from your end point.
    To test if you are actually getting postbacks, you need to place an order from your app.
    You will only get postback if you place an order from your app.
    We send postbacks for an order with status completed, canceled and rejected.

    Once you do these steps, you will get postback in the body of the request. If you don't get postback, then you can let us know the time of order, we will check logs and get back to you.
  • Rishant
    Hi Sujith,
    Thanks for the prompt response.

    So currently when I am using following command in the terminal:

    curl '' --data 'payload=RishantMumbaiWala'

    I see correct results. but when I am putting the same '' in the postback option and putting on some trade in , I am not getting a postback.

    Can you please help me with this
  • Rishant
    Kindly ignore. I think I was not providing the correct key when I was reading the POST request.

This discussion has been closed.