Can I use the API to ajax call data to display on my Shopify page?

  • chriscorrigan14
    Asked on April 1, 2019 at 9:58 PM

    Can I use the API to ajax call data to display on my Shopify page - so using front end javascript only, using a read-only API key? 

    I'm not sure if there are any security concerns doing this? I am wanting to avoid creating a separate server and my own API in order to pull and display form submission data. 

  • Jed_C
    Replied on April 1, 2019 at 11:08 PM

    It would be best to direct your question to our API team via api@jotform.com. They are the right to team to ask your API related questions.

  • chriscorrigan14
    Replied on April 2, 2019 at 7:15 PM

    Hi Jed_C - could you maybe refer my question to them, and relay their answer? They don't seem to be replying to my email. This is what I wrote them:


    Hi, I have a question regarding displaying captured data from one of our forms, regarding using the API key to do this.

    Can I use the API to ajax call data to display on my Shopify page - so using front end javascript only, using a read-only API key? 

    I'm not sure if there are any security concerns doing this (since the API key will be publicly readable in the javascript)? I am wanting to avoid creating a separate server and my own API in order to pull and display form submission data.



    Thanks,
    Chris Corrigan
    604-761-8149

  • jherwin
    Replied on April 2, 2019 at 9:59 PM

    I'm sure your email is in the queue. They will reply to your email as soon as possible.

    Thank you for your patience.