I know applications can only read from public datasets but I am interested in writing to CARTO from a data collection app to a private dataset.

Is this possible?


Yes you have two approaches

  • Writing a middleware application that sends authenticated SQL API requests from that backend. Example here. This is the recommended approach because you can control better they security of your own backend.

  • Writing a function with a security define (details here. In this case anyone that understands how your function works will be able to use it without any type of authorization.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.