What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Submissions API: Delete a submission through URL parameter

    Asked by nick_behrens89 on November 09, 2016 at 05:53 PM

    I'd like to be able to delete a submission via the API. Currently I can pull up a submission by typing this into my URL bar:

    https://api.jotform.com/submission/354526142941661845?apiKey=19246d4c7e04c123b6fa5f28d2b54610

     

    Can I add a "/delete" or something in there somewhere to make it delete the submission?

    Page URL:
    https://api.jotform.com/submission/354526142941661845?apiKey=19246d4c7<br/>e04c123b6fa5f28d2b54610

    Submissions
  • Profile Image
    JotForm Support

    Answered by EltonCris on November 09, 2016 at 09:48 PM

    I think we do not have such parameter to delete the submission.

    You may consider using cURL or PHP code to handle the deletion.

    Example:

    For cURL

    curl -X DELETE "https://api.jotform.com/submission/{submissionID}?apiKey={apiKey}"

    For PHP

    $jotformAPI = new JotForm("YOUR API KEY");

    $result = $jotformAPI->deleteSubmission("SUBMISSION ID");

    Let me also escalate this to our developers. They'll decide if this can be implemented or not and update you here. Unfortunately, I don't know much about the possible risk of having this functionality so I can't give you any further words on this.

    Thanks!

  • Profile Image

    Answered by nick_behrens89 on November 09, 2016 at 11:44 PM
    No need! Figured it out.
    Built a tool that integrates Jotform and Filemaker through the API. Works awesome now! Thanks!!!!!
    Sent from my iPhone
    ...