Resend submission

Send a submission to your inbox again with one of the form's email templates.

POST https://cotlet.dev/api/v1/123formbuilder/forms/{form_id}/submissions/{submission_id}/resend

write Confirm

Uses Resend on an entry in Results. The email goes out with the template you name from the form's emails, to that email's recipients. A template that does not exist on the form fails and lists the available names. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: resend_submission
NameTypeDescription
form_id integer required integer Form id from list_forms.
submission_id integer required integer Submission id from list_submissions.
email_id string required string Email id from list_notification_emails.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/123formbuilder/forms/1/submissions/1/resend \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email_id":"email_8c41d2"}'
Python
result = client.call("123formbuilder", "resend_submission", {"form_id":1,"submission_id":1,"email_id":"email_8c41d2"})
Node.js
const result = await cotlet.call('123formbuilder', 'resend_submission', {"form_id":1,"submission_id":1,"email_id":"email_8c41d2"});
CLI
cotlet call 123formbuilder resend_submission --data '{"form_id":1,"submission_id":1,"email_id":"email_8c41d2"}'

Example response

JSON

{
  "submission_id": 91827364,
  "email_id": "default",
  "sent_to": [
    "ops@yourcompany.com"
  ],
  "status": "sent"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.