Skip to content

Latest commit

 

History

History
332 lines (219 loc) · 5.54 KB

messages.md

File metadata and controls

332 lines (219 loc) · 5.54 KB

Messages Actions

Details on the various actions that can be performed on the Messages resource, including the expected parameters and the potential responses.

Contents

FetchInbox

Retrieves a list of messages summaries

result = client.messages.fetch_inbox(
  domainId: my_domain_id
  inbox: my_inbox
  skip: my_skip
  limit: my_limit
  sort: my_sort
  decodeSubject: my_decode_subject)

puts result

FetchInboxMessage

Retrieves a specific message by id for specific inbox

result = client.messages.fetch_inbox_message(
  domainId: my_domain_id
  inbox: my_inbox
  messageId: my_message_id)

puts result

FetchMessage

Retrieves a specific message by id

result = client.messages.fetch_message(
  domainId: my_domain_id
  messageId: my_message_id)

puts result

FetchSMSMessage

Retrieves a specific SMS message by sms number

result = client.messages.fetch_sms_message(
  domainId: my_domain_id
  inbox: my_inbox
  teamSmsNumber: my_team_sms_number)

puts result

FetchInboxMessageAttachments

Retrieves a list of attachments for a message for specific inbox

result = client.messages.fetch_inbox_message_attachments(
  domainId: my_domain_id
  inbox: my_inbox
  messageId: my_message_id)

puts result

FetchMessageAttachments

Retrieves a list of attachments for a message

result = client.messages.fetch_message_attachments(
  domainId: my_domain_id
  messageId: my_message_id)

puts result

FetchInboxMessageAttachment

Retrieves a specific attachment for specific inbox

result = client.messages.fetch_inbox_message_attachment(
  domainId: my_domain_id
  inbox: my_inbox
  messageId: my_message_id
  attachmentId: my_attachment_id)

puts result

FetchMessageAttachment

Retrieves a specific attachment

result = client.messages.fetch_message_attachment(
  domainId: my_domain_id
  messageId: my_message_id
  attachmentId: my_attachment_id)

puts result

FetchMessageLinks

Retrieves all links found within a given email

result = client.messages.fetch_message_links(
  domainId: my_domain_id
  messageId: my_message_id)

puts result

FetchInboxMessageLinks

Retrieves all links found within a given email for specific inbox

result = client.messages.fetch_inbox_message_links(
  domainId: my_domain_id
  inbox: my_inbox
  messageId: my_message_id)

puts result

DeleteAllDomainMessages

Deletes ALL messages from a Private Domain

result = client.messages.delete_all_domain_messages(
  domainId: my_domain_id)

puts result

DeleteAllInboxMessages

Deletes ALL messages from a specific private inbox

result = client.messages.delete_all_inbox_messages(
  domainId: my_domain_id
  inbox: my_inbox
  messageId: my_message_id)

puts result

DeleteMessage

Deletes a specific messages

result = client.messages.delete_message(
  domainId: my_domain_id
  inbox: my_inbox
  messageId: my_message_id)

puts result

PostMessage

Deliver a JSON message into your private domain

result = client.messages.post_message(
  domainId: my_domain_id
  inbox: my_inbox
  messageToPost: my_message_to_post)

puts result

FetchMessageSmtpLog

Retrieves all smtp log found within a given email

result = client.messages.fetch_message_smtp_log(
  domainId: my_domain_id
  messageId: my_message_id)

puts result

FetchInboxMessageSmtpLog

Retrieves all smtp log found within a given email for specific inbox

result = client.messages.fetch_inbox_message_smtp_log(
  domainId: my_domain_id
  inbox: my_inbox
  messageId: my_message_id)

puts result

FetchMessageRaw

Retrieves all raw data found within a given email

result = client.messages.fetch_message_raw(
  domainId: my_domain_id
  messageId: my_message_id)

puts result

FetchInboxMessageLinks

Retrieves all raw data found within a given email for specific inbox

result = client.messages.fetch_inbox_message_raw(
  domainId: my_domain_id
  inbox: my_inbox
  messageId: my_message_id)

puts result

FetchLatestMessages

That fetches the latest 5 FULL messages

result = client.messages.fetch_latest_messages(
  domainId: my_domain_id
  messageId: my_message_id)

puts result

FetchLatestInboxMessages

That fetches the latest 5 FULL messages for specific inbox

result = client.messages.fetch_latest_inbox_messages(
  domainId: my_domain_id
  inbox: my_inbox
  messageId: my_message_id)

puts result