Get notification emails

The notification emails of one form with recipients and send options.

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

read

Returns every notification email set up on the form: ID, recipients, whether it sends all the data, a link to the data or a custom message, the message format (HTML or plain text), the reply-to address and whether Email Logic routes it by answer. Formstack creates one on every form. Forms on a trial account send none.

Parameters

Parameters: get_notification_emails
NameTypeDescription
form_id string required string Form ID from list_forms.

Request

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

Example response

JSON

{
  "form_id": "5128834",
  "notification_emails": [
    {
      "notification_id": "30912774",
      "enabled": true,
      "recipients": [
        "sam@example.com",
        "events@example.com"
      ],
      "send": "all_data",
      "format": "html",
      "reply_to": null,
      "has_email_logic": false
    }
  ]
}

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.