API Endpoint(s) and/or Zoom API Event(s)
This is a general question about the webhooks API expectations.
The documentation suggests that HTTP status code 200 or 204 must be returned. However, I am curious if there have been any considerations to also accept “202 Accepted”.
In particular, it would be very nice if it was acceptable to return 202 since this indicates that the request will be processed but is seemingly the correct HTTP status code to return in the case where background processing might need to happen. Naturally, it means the request has been accepted.
In my own case, I’m hopeful to continue to use Netlify Functions to serve our webhooks from Zoom as we have for some time. However, the processing I’d like to do on webhooks takes more than 3000ms. While Netlify Function sallows up to 10 seconds of processing (for example, to trigger other events) I have wanted to switch to using Netlify Background Functions to background process for up to 15 minutes.
However, the Netlify Functions return immediately with a 201 as soon as they have started executing the pipeline and are doing their background work.
Thoughts on adding 202 to the list of accepted HTTP status codes?