Download App data with API

Hello,

I am looking to the API solution of Bubble.

I managed to enable the Data API and the JSON request works well (putting in into a Google Sheet).

I am looking now at managing privacy of my data, not letting everyone read my database…

Do you know any good tutorial explaining how to define the privacy of my data and letting me request data with the correct API Token and Private key ?

I assume for my data I need to setup privacy rule but i don’t understand how it works.

Thank you very much,