#chris-webhook-events

1 messages · Page 1 of 1 (latest)

fair cobalt
#

I don't know of a specific example for this no

shadow tiger
#

Are there any recommendations or best practices that you would follow if you were to build out such a system?

I know the best practices are laid out for the webhooks portion of the API (use a queue, immediately return 200, idempotency, etc.), but I'm not sure about the polling aspect of things what the best practices would be here.

fair cobalt
#

Personally I wouldn't really call it "polling" honestly. You shouldn't call that API every second and such, you'll hit rate limits. I'd call it more a "backfill" which is like a cron job you run once an hour or so where you list all events until the last one you saw with the previous cron job run

shadow tiger
#

Sounds good, thank you for the tip!