Forms
Last updated
Last updated
These API endpoints support the abaility to add forms for data collection. Each form is attched to a Sending Profile link domain.
POST
https://api.smtpd.dev/api/v1/email/form
This endpoint creates a new email form endpoint.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.smtpd.dev/api/v1/email/form/:id
This endpoint allows you to get the form setup details by ID
PUT
https://api.smtpd.dev/api/v1/email/form/:id/disable
This endpoint disables a form. After a form has been disabled it may take upto 60mins before the endpoint is disabled.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authentication
string
Bearer {access_token}
tags
object
default_redirect*
boolean
success_redirect*
boolean
failure_redirect*
string
required_fields*
string
notification_email_address*
string
form_name*
string
Form name
link_domain*
string
The link domain from an active sending profile
enable_email_notification
bool
Enable Notification
Authentication
string
Bearer {access_token}
Authentication
string
Bearer {access_token}