delete a submission via url

  • Profile Image
    tostola
    Asked on February 17, 2021 at 01:38 AM

    hi.. whats the url to delete a submission via id?

    and whats the url to download the submission in PDF, using url + id?

    thanks

  • Profile Image
    gerardw
    Answered on February 17, 2021 at 03:42 AM

    To delete a submission, please check this related guide: how-to-delete-form-submission-data

    As far as I can see there is no URL available to delete a submission.

    To download submission as PDF, please check this related guide: how-to-download-form-submissions-as-excel-csv-pdf

    To download PDF submission using URL you can get a link of the PDF with the following URL:

    https://www.jotform.com/server.php?action=getSubmissionPDF&sid={id}&formID={formID}

    where,

    {id} - submission ID (where-to-find-the-submission-id)

    {formID} - form ID

    You can also use https://www.jotform.com/pdf-submission/{id}

    You can also check our API documentation - https://api.jotform.com/docs/

    If you have any questions regarding our API, you can contact our API team at api@jotform.com

    Do review and let us know if you have any further questions.

  • Profile Image
    tostola
    Answered on February 17, 2021 at 11:34 AM

    can u check with the developers if this is possible?


    As far as I can see there is no URL available to delete a submission.

  • Profile Image
    JohnRex
    Answered on February 17, 2021 at 02:04 PM

    Please try this command mentioned on this page below:

    https://api.jotform.com/docs/#delete-submission-id

    I believe this is to delete a specific submission using the SUBMISSION ID.

    Please try that and let us know how it goes.

  • Profile Image
    tostola
    Answered on February 18, 2021 at 06:11 PM
    There is no way do to like this below that are used to download a PDF via id number?

    https://www.jotform.com/pdf-submission/{id}

    I mean.. just a url to delete + the id?

    Like: https://www.jotform.com/delete/{id}

    thanks

    De: Jotform [mailto:noreply@jotform.com]
    Enviada em: quarta-feira, 17 de fevereiro de 2021 16:04
    Para: contato@mtsdocumentacoes.com.br
    Assunto: Re: delete a submission via url

    A new response has been received:
    JOTFORM
    Answered by JohnRex
    Please try this command mentioned on this page below:
    https://api.jotform.com/docs/#delete-submission-id
    I believe this is to delete a specific submission using the SUBMISSION ID.
    Please try that and let us know how it goes.
    View this thread on browser » Unsubscribe Thread
    1613588650
    ...
  • Profile Image
    JohnRex
    Answered on February 18, 2021 at 07:36 PM

    I understand that you want to use HTTP URL to fulfill the deletion request, however, there is no way we can delete a submission using HTTP URLs only. You may either use JavaScript, PHP, or cURL commands as discussed in the documentation I shared.