Open API v2 / Emails / Email Sender

Email Sender

Every request needs a bearer token: Authorization: Bearer <token>. Base URL https://your-site.webinone.com. New to field types? See the type reference.

POST/api/v2/admin/email-notification-sender/autoresponder#

Sends an autoresponder email notification

Body parameters
CaseIdintegerrequired
Identifier of the related case.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/autoresponder" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"CaseId":1}'
POST/api/v2/admin/email-notification-sender/case#

Sends a case email notifications

Body parameters
CaseIdintegerrequired
Identifier of the related case.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/case" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"CaseId":1}'
POST/api/v2/admin/email-notification-sender/confirm-email#

Sends a confirm email notification

Body parameters
Emailstringrequired
Email address.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/confirm-email" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"Email":"user@example.com"}'
POST/api/v2/admin/email-notification-sender/deferred-order-payment#

Sends a deferred order payment email notification

Body parameters
OrderIdintegerrequired
Identifier of the related order.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/deferred-order-payment" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"OrderId":1}'
POST/api/v2/admin/email-notification-sender/gift-voucher#

Sends a gift voucher email notification

Body parameters
GiftVoucherIdintegerrequired
Identifier of the related gift voucher.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/gift-voucher" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"GiftVoucherId":1}'
POST/api/v2/admin/email-notification-sender/invoice#

Sends an invoice email notification

Body parameters
OrderIdintegerrequired
Identifier of the related order.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/invoice" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"OrderId":1}'
POST/api/v2/admin/email-notification-sender/low-stock#

Sends a low stock email notification

Body parameters
OrderIdintegerrequired
Identifier of the related order.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/low-stock" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"OrderId":1}'
POST/api/v2/admin/email-notification-sender/module-item#

Sends a module item email notifications

Body parameters
Emailstringrequired
Email address.
ModuleItemIdintegerrequired
Identifier of the related module item.
EmailMessageEventenumrequired
The module item lifecycle event that the notification email is sent for. Determines which template placeholders are filled from the item's data. Possible values: None, ModuleItemCreated, ModuleItemUpdated, ModuleItemDeleted, ModuleItemUpdatedDraft, ModuleItemPublishedDraft.Possible values: NoneModuleItemCreatedModuleItemUpdatedModuleItemDeletedModuleItemUpdatedDraftModuleItemPublishedDraft
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/module-item" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"Email":"user@example.com","ModuleItemId":1,"EmailMessageEvent":"None"}'
POST/api/v2/admin/email-notification-sender/password-retrieve-email#

Sends a password retrieve email notification

Body parameters
Emailstringrequired
Email address.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/password-retrieve-email" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"Email":"user@example.com"}'
POST/api/v2/admin/email-notification-sender/quote#

Sends a quote email notification

Body parameters
OrderIdintegerrequired
Identifier of the related order.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/quote" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"OrderId":1}'
POST/api/v2/admin/email-notification-sender/restore-admin-user-password#

Sends a restore admin user password email notification

Body parameters
Emailstringrequired
Email address.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/restore-admin-user-password" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"Email":"user@example.com"}'
POST/api/v2/admin/email-notification-sender/secure-zone-login-details#

Sends a secure zone login details email notification

Body parameters
Emailstringrequired
Email address.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/secure-zone-login-details" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"Email":"user@example.com"}'
POST/api/v2/admin/email-notification-sender/supplier#

Sends a supplier email notification

Body parameters
OrderIdintegerrequired
Identifier of the related order.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/supplier" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"OrderId":1}'
POST/api/v2/admin/email-notification-sender/workflows#

Sends a workflow email notification

Body parameters
CaseIdinteger
Identifier of the related case.
OrderIdinteger
Identifier of the related order.
CustomWorkflowIdsarray of integers
Identifiers of custom workflows to run alongside sending the email, such as changing an order status or creating a CRM task.
curl -X POST "https://your-site.webinone.com/api/v2/admin/email-notification-sender/workflows" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"CaseId":1,"OrderId":1,"CustomWorkflowIds":[0]}'