Mautic Community Forums

Form Submission Filters from API

I can’t filter via API the form submission.

I tryed filters like:

[mauticURL]/api/forms/[formId]/submissions?search=“form_field:value” --> Returns all results
[mauticURL]/api/forms/[formId]/submissions?search=“lead_field:value” --> Returns all results
[mauticURL]/api/forms/[formId]/submissions?orderBy=date_submitted&orderByDir=ASC --> Returns error 500
[mauticURL]/api/forms/[formId]/submissions?search=“email:[email_no_encoded]” --> Returns all results
[mauticURL]/api/forms/[formId]/submissions?search=“email:[email_encoded_format]” --> Returns all results
[mauticURL]/api/forms/[formId]/submissions?limit=1" --> Works fine
[mauticURL]/api/forms/[formId]/submissions?minimal=1" --> Works fine

I need to filter by lead email, form field or get the last one submitted:

Thank You.