All the endpoints that can be called on the Email controller.
All these endpoints require the SETTINGS_CRUD permission, except for GET itemDownloadMail, which requires TICKET_READ
newInboundMessage
post
Creates a new inbound email message and decides if a new ticket is needed.
If you want to add multiple items to a request, just copy the keys and add indices to the empty square brackets.
Body
messageIDstringOptionalThe ID for the message to be created.
Only used to check if the message exists already with this brand ID.
Default: "" externalIDstringOptionalExternal ID of the ticket.
Default: "" subjectstringOptionalDefault: ""
htmlBodystringOptionalThe HTML body of this message. This can just be a regular text as well.
Default: "" referencesstring[]OptionalUse this if you want to reply to a thread as to make sure the application does not create a new ticket.
Default: [] attachmentsBase64arrayOptionalDefault: []
address
get
Returns all email addresses with optional filters such as search queries, grouping and result limits.
querystring · min: 1OptionalDefault: ""Pattern: ^[0-9a-zA-Z ]+$
itemStartnumberOptionalDefault: 0
itemLimitnumber · max: 99OptionalDefault: 15
groupByTimenumber · max: 99OptionalDefault: 1
groupByTimeAmountnumber · min: 1 · max: 999999OptionalDefault: 604800
address
post
Creates a new email address.
Body
emailstring · email · min: 1Required
reply_emailstring · email · min: 1Required
reply_email_titlestring · ^[a-zA-ZÀ-ÖØ-Þß-öø-ÿŠš\.\-\'', ]+$ · min: 1Optional
is_primarynumber · max: 1Required
signaturestring · max: 65535OptionalDefault: ""
group_idnumberOptionalDefault: 0
itemAddress
get
Returns this specific email address.
itemAddress
put
Updates this specific email address.
Body
group_idnumberOptionalDefault: 0
emailstring · email · min: 1Required
reply_emailstring · email · min: 1Required
reply_email_titlestring · min: 1OptionalPattern: ^[a-zA-ZÀ-ÖØ-Þß-öø-ÿŠš\.\-\', ]+$
is_primarynumber · max: 1Required
group_by_timenumber · max: 99OptionalDefault: 0
group_by_time_amountnumber · max: 999999OptionalDefault: 0
signaturestring · max: 65535OptionalDefault: ""
itemAddress
delete
Permanently deletes this specific email address.
itemDownloadMail
get
Downloads a specific email based on its message ID.
idnumberRequiredID of the message to download.
Last updated