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 and the immediate response contains only user…
By default, data GET requests use to_webhook=true, so data is delivered asynchronously to your configured webhook 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/userdataendpoint. Fetch per type via/v2/sleep,/v2/daily,/v2/body,/v2/activity,/v2/nutritionor/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 withGET /v2/userInfoor/v2/subscriptions.
Last updated
Was this helpful?