Update an Email activity
This can be used to modify a draft or send it once the draft is complete.
When changing a draft’s status to scheduled or outbox, the sender field is required if not already set on the email.
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:)>.
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Request
This endpoint expects an object.
account_id
activity_at
attachments
bcc
body_html
body_text
cc
contact_id
followup_date
followup_sequence_add_cc_bcc
followup_sequence_delay
followup_sequence_id
in_reply_to_id
opens
sender
status
subject
template_id
to
user_id
Response
Successful response
_type
activity_at
bcc
body_html
body_text
bulk_email_action_id
cc
contact_id
created_by
date_created
date_scheduled
date_sent
date_updated
direction
Direction of communication. Outgoing means the communication flowing from the user to the lead/contact. Inbound means the opposite.
Allowed values:
followup_sequence_add_cc_bcc
followup_sequence_delay
has_reply
id
in_reply_to_id
lead_id
message_ids
need_smtp_credentials
opens_summary
organization_id
references
send_as_id
sender
status
Status of a message, such as Email or SMS.
subject
template_id
thread_id
to
updated_by
user_id
users
agent_action_reason
agent_config_id
attachments
body_preview
created_by_name
email_account_id
envelope
followup_sequence_id
opens
send_attempts
sequence_id
sequence_name
sequence_subscription_id
template_name
updated_by_name
user_name
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error