Ticket mails
List outbound mails
Returns all outbound mails of the ticket (concepts, scheduled and sent), newest first.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List outbound mails › Responses
Array of TicketOutboundMailResource
idstatusscheduled_forsubjectmessagefull_messageupdated_atcreated_atCreate an outbound mail
Creates a new outbound mail as a concept for the ticket. When no recipients are given, the ticket's
participants are added as to recipients: by their e-mail address, or for a caller or a contact or
company linked by hand by the first e-mail address of that relation. Participants taken out of the
conversation are left out.
path Parameters
ticketThe ticket UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create an outbound mail › Request Body
subjectmessageThe e-mail body as HTML, shown without paragraph spacing: put each paragraph in a <p> and an empty <p><br></p> between paragraphs. <strong>, <em>, <a>, <ul>, <ol> and <li> are fine. When the mail is sent, Clienvy adds the personal signature (usually the closing greeting and the sender's name) and quotes the previous mail, so leave both out.
file_idsUUIDs of uploaded files to attach.
The mail recipients. Replaces the full recipient set.
Create an outbound mail › Responses
Get an outbound mail
Returns a single outbound mail of the ticket, including its recipients and file attachments.
path Parameters
ticketThe ticket UUID
ticketOutboundMailThe ticket outbound mail UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get an outbound mail › Responses
TicketOutboundMailResource
Update an outbound mail
Updates a concept outbound mail. Only concepts can be edited. Pass take_over to take over a
concept another employee is editing.
path Parameters
ticketThe ticket UUID
ticketOutboundMailThe ticket outbound mail UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update an outbound mail › Request Body
subjectmessageThe e-mail body as HTML, shown without paragraph spacing: put each paragraph in a <p> and an empty <p><br></p> between paragraphs. <strong>, <em>, <a>, <ul>, <ol> and <li> are fine. When the mail is sent, Clienvy adds the personal signature (usually the closing greeting and the sender's name) and quotes the previous mail, so leave both out.
file_idsUUIDs of uploaded files to attach.
The mail recipients. Replaces the full recipient set.
take_overTake over editing from another employee.
Update an outbound mail › Responses
Delete an outbound mail
Deletes a concept outbound mail. Only concepts can be deleted.
path Parameters
ticketThe ticket UUID
ticketOutboundMailThe ticket outbound mail UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete an outbound mail › Responses
TicketOutboundMailResource
Send an outbound mail
Sends a concept outbound mail, or schedules it when scheduled_for is given. The mail must have a
subject, message and at least one recipient. Immediate sends are queued with a short delay so they
can still be cancelled.
path Parameters
ticketThe ticket UUID
ticketOutboundMailThe ticket outbound mail UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Send an outbound mail › Request Body
scheduled_forDate/time (Y-m-d H:i:s) to send the mail. Omit to send immediately.
Send an outbound mail › Responses
TicketOutboundMailResource
Cancel a scheduled or queued send
Returns a scheduled or queued outbound mail to concept status. A mail that is already sending or sent can no longer be cancelled.
path Parameters
ticketThe ticket UUID
ticketOutboundMailThe ticket outbound mail UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Cancel a scheduled or queued send › Responses
TicketOutboundMailResource