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
| Name | Type | Description |
|---|---|---|
| form_id string required | string | Form ID from list_forms. |
Request
curl https://cotlet.dev/api/v1/formstack/forms/form_8c41d2/notification-emails \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("formstack", "get_notification_emails", {"form_id":"form_8c41d2"}) const result = await cotlet.call('formstack', 'get_notification_emails', {"form_id":"form_8c41d2"}); cotlet call formstack get_notification_emails --data '{"form_id":"form_8c41d2"}' Example response
{
"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
}
]
}