> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/faq/help-topics/data-api-sdk/api-endpoints-errors-and-migrations/to-webhook-default-and-empty-response.md).

# Why does the GET API return 200 with no data array?

By default, data `GET` requests use `to_webhook=true`, so data is delivered asynchronously to your [configured webhook](https://docs.tryterra.co/health-and-fitness-api/integration-setup/setting-up-data-destinations/webhooks) and the immediate response contains only user metadata, with no data array.

**To get data inline in the HTTP response, set `to_webhook=false`.**

A couple of related points:

* There is no `/v2/userdata` endpoint. Fetch per type via `/v2/sleep`, `/v2/daily`, `/v2/body`, `/v2/activity`, `/v2/nutrition` or `/v2/menstruation`.
* Each delete-and-readd mints a new `terra_user_id`, and the old one stops returning data, so always use the latest id. Check user validity with `GET /v2/userInfo` or `/v2/subscriptions`.
