This will update an existing Message
Request
- Base URLhttps://api.ontraport.com/1
- Authnone declared
Request body application/x-www-form-urlencoded
ID of the Message to be updated.
Object Type ID.
Is this message transactional email? Transactional email is NOT marketing email. It is email that delivers a product, an invoice, a request for payment for a purchase already made, or other messaging having to do with an existing client relationship. It is not to promote new stuff to an existing client. When you set this flag to 1, the email will be sent even if a contact has already unsubscribed. Because of this, if you send it to someone who isn't a client and who has unsubscribed, you will be breaking CAN-SPAM and other anti-spam laws. This is your responsibility. In addition, Ontraport can and will suspend your account should we discover marketing messages in emails that you have marked as Transactional Emails.
Message alias.
Name of your Message.
Subject to be sent with the Message.
Who will this Message come from? If not <b>owner</b> or <b>custom</b>, this field can contain the Staff user ID to send the Message from.
Name to be used in the 'Message From' field when the <b>from</b> field is set to <b>custom</b>.
The email address to use as the reply-to in the Message.
The plain text version of your Message (for Email messages). For SMS Messages, this is the content that will be sent.
Custom Send-from email address. Leave this empty to use your default email address. Otherwise, this must be a validated send-from email address.
Only used with SMS Messages or Custom Objects. Select the field to use when there may be a parent or child relationship to the Object type given in <b>object_type_id</b>. The default for SMS Message is <b>sms_number.</b>
Use this for Legacy Email Messages only. This is the HTML content of the Message.
For ONTRAmail Messages only; this is the content of the message. Note that this can be extremely complex, so you should start by inspecting the resource that is sent when saving a Message from inside the App. For SMS Messages, use the plaintext field for content.
Use this only for Task Messages. This is the content of the Message.
Use this only for Task Messages. This is the number of days after assignment this Task is due.
Use this only for Task Messages. This is the Staff user ID of the Task owner.
Use this only for Task Messages. This is the optional Form ID to be filled when the Task is completed. This form must already exist.
Response
Message successfully updated
Changes
No recorded changes to this operation across all 5 revisions of this API.