Forum Academy Marketplace Showcase Pricing Features

Returning success before API workflow terminates

Hi, did someone found a way to return the 200 when all conditions are met?

Any help would be appreciated!

1 Like

Hi Levon,

I was wondering if you could tell me how you managed to return the http 200 success response.


I am using Mercado Pago as a payment processor and I am using webhooks for the notifications endpoint.

My problem is that Mercado Pago says:

“When you receive a notification on your platform, Mercado Pago waits for a response to validate that you received it correctly. For this, you must return an HTTP STATUS 200 (OK) or 201 (CREATED) .”

How can I return this HTTP 200 response?

I tried this:

I tried also this:

And also tried this:

None of them have worked, so I keep receiving the same webhook notification many times (if I don’t respond with a HTTP 200 it keeps retrying) :unamused:

For Telegram, this worked for me.

“ok”: true