GET api/v1.0/Messaging/GetSentMessages?firstRecord={firstRecord}&maxRecords={maxRecords}

Retrieves Mailbox Messages sent by the current user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
firstRecord

The index of the first Mailbox Message to retreive. Must be >= 0. If not included, the default value is 0.

integer

Default value is 0

maxRecords

The maximum records to return. Must be >= 1. If not included, the default value is 10.

integer

Default value is 50

Body Parameters

None.

Response Information

Resource Description

Collection of MailboxMessage
NameDescriptionTypeAdditional information
MessageKey

globally unique identifier

None.

FromContactKey

globally unique identifier

None.

SentOn

date

None.

Subject

string

None.

Message

string

None.

IsInSentBox

boolean

None.

IsRead

boolean

None.

FromFirstName

string

None.

FromLastName

string

None.

FromDisplayName

string

None.

LinkToSenderProfile

string

None.

ToContactKey

globally unique identifier

None.

ToFirstName

string

None.

ToLastName

string

None.

ToDisplayName

string

None.

LinkToRecipientProfile

string

None.

LinkToRecipientSmallImage

string

None.

LinkToRecipientLargeImage

string

None.

LinkToSenderSmallImage

string

None.

LinkToSenderLargeImage

string

None.

IsSenderCompany

boolean

None.

IsRecipientCompany

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MessageKey": "08c3dc56-7ad4-4673-ae0d-ae2adb7d09f0",
    "FromContactKey": "314a5ac0-dd88-40c0-b229-27e135223642",
    "SentOn": "2024-04-20T12:13:06.0795835Z",
    "Subject": "sample string 4",
    "Message": "sample string 5",
    "IsInSentBox": true,
    "IsRead": true,
    "FromFirstName": "sample string 8",
    "FromLastName": "sample string 9",
    "FromDisplayName": "sample string 10",
    "LinkToSenderProfile": "sample string 11",
    "ToContactKey": "f8db9e2c-3a83-489b-9124-e3fb310635a5",
    "ToFirstName": "sample string 13",
    "ToLastName": "sample string 14",
    "ToDisplayName": "sample string 15",
    "LinkToRecipientProfile": "sample string 16",
    "LinkToRecipientSmallImage": "sample string 17",
    "LinkToRecipientLargeImage": "sample string 18",
    "LinkToSenderSmallImage": "sample string 19",
    "LinkToSenderLargeImage": "sample string 20",
    "IsSenderCompany": true,
    "IsRecipientCompany": true
  },
  {
    "MessageKey": "08c3dc56-7ad4-4673-ae0d-ae2adb7d09f0",
    "FromContactKey": "314a5ac0-dd88-40c0-b229-27e135223642",
    "SentOn": "2024-04-20T12:13:06.0795835Z",
    "Subject": "sample string 4",
    "Message": "sample string 5",
    "IsInSentBox": true,
    "IsRead": true,
    "FromFirstName": "sample string 8",
    "FromLastName": "sample string 9",
    "FromDisplayName": "sample string 10",
    "LinkToSenderProfile": "sample string 11",
    "ToContactKey": "f8db9e2c-3a83-489b-9124-e3fb310635a5",
    "ToFirstName": "sample string 13",
    "ToLastName": "sample string 14",
    "ToDisplayName": "sample string 15",
    "LinkToRecipientProfile": "sample string 16",
    "LinkToRecipientSmallImage": "sample string 17",
    "LinkToRecipientLargeImage": "sample string 18",
    "LinkToSenderSmallImage": "sample string 19",
    "LinkToSenderLargeImage": "sample string 20",
    "IsSenderCompany": true,
    "IsRecipientCompany": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfMailboxMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise">
  <MailboxMessage>
    <FromContactKey>314a5ac0-dd88-40c0-b229-27e135223642</FromContactKey>
    <FromDisplayName>sample string 10</FromDisplayName>
    <FromFirstName>sample string 8</FromFirstName>
    <FromLastName>sample string 9</FromLastName>
    <IsInSentBox>true</IsInSentBox>
    <IsRead>true</IsRead>
    <IsRecipientCompany>true</IsRecipientCompany>
    <IsSenderCompany>true</IsSenderCompany>
    <LinkToRecipientLargeImage>sample string 18</LinkToRecipientLargeImage>
    <LinkToRecipientProfile>sample string 16</LinkToRecipientProfile>
    <LinkToRecipientSmallImage>sample string 17</LinkToRecipientSmallImage>
    <LinkToSenderLargeImage>sample string 20</LinkToSenderLargeImage>
    <LinkToSenderProfile>sample string 11</LinkToSenderProfile>
    <LinkToSenderSmallImage>sample string 19</LinkToSenderSmallImage>
    <Message>sample string 5</Message>
    <MessageKey>08c3dc56-7ad4-4673-ae0d-ae2adb7d09f0</MessageKey>
    <SentOn>2024-04-20T12:13:06.0795835Z</SentOn>
    <Subject>sample string 4</Subject>
    <ToContactKey>f8db9e2c-3a83-489b-9124-e3fb310635a5</ToContactKey>
    <ToDisplayName>sample string 15</ToDisplayName>
    <ToFirstName>sample string 13</ToFirstName>
    <ToLastName>sample string 14</ToLastName>
  </MailboxMessage>
  <MailboxMessage>
    <FromContactKey>314a5ac0-dd88-40c0-b229-27e135223642</FromContactKey>
    <FromDisplayName>sample string 10</FromDisplayName>
    <FromFirstName>sample string 8</FromFirstName>
    <FromLastName>sample string 9</FromLastName>
    <IsInSentBox>true</IsInSentBox>
    <IsRead>true</IsRead>
    <IsRecipientCompany>true</IsRecipientCompany>
    <IsSenderCompany>true</IsSenderCompany>
    <LinkToRecipientLargeImage>sample string 18</LinkToRecipientLargeImage>
    <LinkToRecipientProfile>sample string 16</LinkToRecipientProfile>
    <LinkToRecipientSmallImage>sample string 17</LinkToRecipientSmallImage>
    <LinkToSenderLargeImage>sample string 20</LinkToSenderLargeImage>
    <LinkToSenderProfile>sample string 11</LinkToSenderProfile>
    <LinkToSenderSmallImage>sample string 19</LinkToSenderSmallImage>
    <Message>sample string 5</Message>
    <MessageKey>08c3dc56-7ad4-4673-ae0d-ae2adb7d09f0</MessageKey>
    <SentOn>2024-04-20T12:13:06.0795835Z</SentOn>
    <Subject>sample string 4</Subject>
    <ToContactKey>f8db9e2c-3a83-489b-9124-e3fb310635a5</ToContactKey>
    <ToDisplayName>sample string 15</ToDisplayName>
    <ToFirstName>sample string 13</ToFirstName>
    <ToLastName>sample string 14</ToLastName>
  </MailboxMessage>
</ArrayOfMailboxMessage>