P
ProFormsDocs

Notifications

Manage the notification records stored on a form. These are available for external integrations and reference.

⚠️
Important: The /notifications endpoint stores notification config records, but they do not trigger emails on form submission. Submission emails are driven by settings.emailNotifications (admin alerts) and settings.confirmationEmail (autoresponder to submitter). Configure those via PUT /v1/forms/:id.

Get Notifications

forms.view
GET/v1/forms/:id/notifications
curl
curl "https://proforms.io/api/v1/forms/f_abc123/notifications" \
  -H "Authorization: Bearer pf_your_api_key"
200 OK
{
  "success": true,
  "data": [
    {
      "id": 1,
      "type": "admin",
      "enabled": true,
      "recipients": "admin@example.com,team@example.com",
      "subjectTemplate": "New submission: {form_name}",
      "bodyTemplate": null,
      "replyTo": "{email}",
      "fromName": "ProForms",
      "includeData": true,
      "createdAt": "2026-02-01T10:00:00.000Z",
      "updatedAt": "2026-02-01T10:00:00.000Z"
    }
  ]
}

Update Notifications

forms.edit
PUT/v1/forms/:id/notifications

Send the full array of notification configs. Existing notifications are replaced.

Notification Object

type*string

"admin" for admin alert emails, "autoresponder" for confirmation emails to the submitter

enabled*boolean

Whether this notification record is active

recipientsstring

Comma-separated email addresses (admin type only)

subjectTemplate*string

Email subject — supports merge tags like {form_name}, {name}

bodyTemplatestring

Custom email body — supports merge tags (null = default template)

replyTostring

Reply-to address — supports merge tags like {email}

fromNamestring

Sender display name

includeDataboolean

Include submission field data in the email (default: true)

curl
curl -X PUT "https://proforms.io/api/v1/forms/f_abc123/notifications" \
  -H "Authorization: Bearer pf_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "notifications": [
      {
        "type": "admin",
        "enabled": true,
        "recipients": "admin@example.com",
        "subjectTemplate": "New lead from {form_name}",
        "replyTo": "{email}",
        "fromName": "My Website",
        "includeData": true
      }
    ]
  }'
💡
Merge tags let you include submission data in notifications. Use {field_key} to reference any form field by its key, plus system tags like {form_name}, {site_name}, {submission_date}, {reference_id}, and {form_summary}.