GET messages

Get user messages

Request

URL ( requires authentication )

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

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 list of messages

Data fields

Data

Collection of MessageData

TotalCount

integer

Example

JSON

{
  "Data": [
    {
      "Body": "sample string 6",
      "CanReply": true,
      "CreatedOn": "2019-10-21T22:41:21.749182Z",
      "HasAttachments": true,
      "Id": 3,
      "IsRead": true,
      "Sender": {
        "Id": 1,
        "Name": "sample string 2",
        "ThumbnailUrl": "sample string 3"
      },
      "Subject": "sample string 5"
    },
    {
      "Body": "sample string 6",
      "CanReply": true,
      "CreatedOn": "2019-10-21T22:41:21.749182Z",
      "HasAttachments": true,
      "Id": 3,
      "IsRead": true,
      "Sender": {
        "Id": 1,
        "Name": "sample string 2",
        "ThumbnailUrl": "sample string 3"
      },
      "Subject": "sample string 5"
    }
  ],
  "TotalCount": 1
}