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": "ae85c108-79a9-4cb6-ab94-78f2537fc482",
    "FromContactKey": "7d1274fa-1560-4c79-ae10-c60922c4410f",
    "SentOn": "2024-12-21T16:05:31.4932655Z",
    "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": "4b72c4eb-9097-4662-9fd9-4cd4e138d6d8",
    "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": "ae85c108-79a9-4cb6-ab94-78f2537fc482",
    "FromContactKey": "7d1274fa-1560-4c79-ae10-c60922c4410f",
    "SentOn": "2024-12-21T16:05:31.4932655Z",
    "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": "4b72c4eb-9097-4662-9fd9-4cd4e138d6d8",
    "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>7d1274fa-1560-4c79-ae10-c60922c4410f</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>ae85c108-79a9-4cb6-ab94-78f2537fc482</MessageKey>
    <SentOn>2024-12-21T16:05:31.4932655Z</SentOn>
    <Subject>sample string 4</Subject>
    <ToContactKey>4b72c4eb-9097-4662-9fd9-4cd4e138d6d8</ToContactKey>
    <ToDisplayName>sample string 15</ToDisplayName>
    <ToFirstName>sample string 13</ToFirstName>
    <ToLastName>sample string 14</ToLastName>
  </MailboxMessage>
  <MailboxMessage>
    <FromContactKey>7d1274fa-1560-4c79-ae10-c60922c4410f</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>ae85c108-79a9-4cb6-ab94-78f2537fc482</MessageKey>
    <SentOn>2024-12-21T16:05:31.4932655Z</SentOn>
    <Subject>sample string 4</Subject>
    <ToContactKey>4b72c4eb-9097-4662-9fd9-4cd4e138d6d8</ToContactKey>
    <ToDisplayName>sample string 15</ToDisplayName>
    <ToFirstName>sample string 13</ToFirstName>
    <ToLastName>sample string 14</ToLastName>
  </MailboxMessage>
</ArrayOfMailboxMessage>