List notification emails

The emails a form sends on submit: name, recipients, subject and rules.

GET https://cotlet.dev/api/v1/123formbuilder/forms/{form_id}/notification-emails

read

Reads the Emails section of a form. Each email has its name, whether it is on, the Send to addresses, the subject and any Add rules conditions as text. Pass email_id to update_notification_email. A new form has a default email sent to the account email address.

Parameters

Parameters: list_notification_emails
NameTypeDescription
form_id integer required integer Form id from list_forms.

Request

cURL
curl https://cotlet.dev/api/v1/123formbuilder/forms/1/notification-emails \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("123formbuilder", "list_notification_emails", {"form_id":1})
Node.js
const result = await cotlet.call('123formbuilder', 'list_notification_emails', {"form_id":1});
CLI
cotlet call 123formbuilder list_notification_emails --data '{"form_id":1}'

Example response

JSON

{
  "form_id": 5128403,
  "emails": [
    {
      "email_id": "default",
      "name": "Default notification",
      "enabled": true,
      "send_to": [
        "jan@yourcompany.com"
      ],
      "subject": "New submission: Contact us",
      "rules": "All Submissions"
    },
    {
      "email_id": "autoresponder",
      "name": "Autoresponder",
      "enabled": true,
      "send_to": [
        "Email field: Email"
      ],
      "subject": "We got your message",
      "rules": "All Submissions"
    }
  ]
}

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.