Send

Sending an email

POST https://do.workzeal.com/mail/send

Request Body

Name
Type
Description

mail*

String

JSON

JSON

All available parameters of the new object
  • account_id - Email account ID in the system (*required)

  • to_address - To (*required)

  • subject - Subject in ⚡️Base64 format (*required)

  • body - Email content in ⚡️Base64 format (*required)

  • cc - Copy

  • bcc - Blind copy

  • company_id - Account ID to which the email will be linked

  • contact_id - Contact ID to which the email will be linked

  • deal_id - Deal ID to which the email will be linked

Object

{
    "mail" : {
              "account_id" : "4",
              "to_address" : "[email protected]",
              "subject" : "SGFwcHkh",
              "body" : "SGVsbG8h" 
              }
}

Required parameters account_id (Can be found in the list of accounts) to_address subject body

Example

url --location --request POST 'https://do.workzeal.com/mail/send' \
--header 'Authorization: Bearer XXXXXX.XXXXXXXX.XXXXXXX' \
--header 'Content-Type: application/json' \
--data-raw '{
    "mail" : {
              "account_id" : "4",
              "to_address" : "[email protected]",
              "subject" : "SGFwcHkh",
              "body" : "SGVsbG8h" 
              }
}'
Accounts

Answer

{
  "status": "success",
  "error": null,
  "code": "0",
  "rows": 1,
  "pages": 1,
  "page": 1,
  "value": ""
}