How I can create API for my folders?

  • Madhumita Majhi
    Asked on January 31, 2024 at 11:00 AM

    How I can create API for my folder wise, lets say I have created 3 folder examples

    FR, Finance,IT team and for them I need to create each API to pull data is there way to create separate API?

  • Afzal JotForm Support
    Replied on January 31, 2024 at 4:04 PM

    Hi Madhumita,

    Thanks for reaching out to Jotform Support. We are happy to assist you with your query. To create an API for your folder, you can use the following curl command to GET the folder IDs of your folders:

    curl https://api.jotform.com/user/folders?apiKey={apiKey}

    Replace {apiKey} with your actual API key. This will return a JSON response with the folder IDs and names of your folders.

    Use the following curl command to GET the submission data in the specific folder:

    curl https://api.jotform.com/folder/{folderID}?apiKey={apiKey}

    Replace {folderID} with the id of the folder you want to access and {apiKey} with your actual API key. This will return a JSON response with the submission data in the folder. Repeat the step for each folder you want to use for your API. To learn more about the Jotform API, please check this link.

    Let us know if there’s anything else we can help you with.