For the complete documentation index, see llms.txt. This page is also available as Markdown.

Can I reduce or batch webhook delivery frequency?

Terra cannot throttle or batch webhook/cloud-storage delivery frequency server-side.

Terra cannot throttle or batch webhook/cloud-storage delivery frequency server-side. Payloads are forwarded as the provider makes new data available, so they reflect the freshest data.

The recommended pattern is to accept deliveries quickly and process at your own pace:

1

Return 200 immediately.

2

Push each delivery onto your own queue.

3

Process from the queue at whatever rate suits you.

For self-imposed rate-limiting or dedup, use the SQS integration with a lambda that processes events before writing downstream.

For the iOS/Apple Health SDK specifically, you can reduce push frequency by skipping setUpBackgroundDelivery() and calling the manual get methods (getDaily, getActivity, and so on) on your own schedule. The trade-off is losing near-real-time workout delivery. Some types like body, nutrition and menstruation are already capped at hourly.

Last updated

Was this helpful?