GET messages/sent

Get sent messages

Request

URL ( requires authentication )

https://api.crexi.com/messages/sent?count={count}&offset={offset}&term={term}

Parameters

count

integer

Pagination parameter

Optional

Default value is 50

offset

integer

Pagination parameter

Optional

Default value is 0

term

string

Search term

Optional

Response

Details

Returns an HTTP 200 OK Pull and return the list of messages the current user has sent

Data fields

Data

Collection of SentMessageData

TotalCount

integer

Example

JSON

{
  "Data": [
    {
      "Body": "sample string 4",
      "CreatedOn": "2019-10-20T09:59:36.8095625Z",
      "HasAttachments": true,
      "Id": 1,
      "Recipient": {
        "Id": 1,
        "Name": "sample string 2",
        "ThumbnailUrl": "sample string 3"
      },
      "Sender": {
        "Id": 1,
        "Name": "sample string 2",
        "ThumbnailUrl": "sample string 3"
      },
      "Subject": "sample string 3"
    },
    {
      "Body": "sample string 4",
      "CreatedOn": "2019-10-20T09:59:36.8095625Z",
      "HasAttachments": true,
      "Id": 1,
      "Recipient": {
        "Id": 1,
        "Name": "sample string 2",
        "ThumbnailUrl": "sample string 3"
      },
      "Sender": {
        "Id": 1,
        "Name": "sample string 2",
        "ThumbnailUrl": "sample string 3"
      },
      "Subject": "sample string 3"
    }
  ],
  "TotalCount": 1
}