GET messages/{id}

Get user message by message id

Request

URL ( requires authentication )

https://api.crexi.com/messages/{id}

Parameters

id

integer

Message Id

Required

Response

Details

Returns message

Data fields

Attachments

Collection of AttachmentData

Body

string

CanReply

boolean

CreatedOn

date

HasAttachments

boolean

Id

integer

IsCustomHtml

boolean

IsRead

boolean

Recipient

MessageUserData

ReplyTo

MessageUserData

Sender

MessageUserData

Subject

string

UserIsSender

boolean

Example

JSON

{
  "Body": "Body",
  "CanReply": true,
  "CreatedOn": "2019-06-12T11:38:51.5023628Z",
  "HasAttachments": false,
  "Id": 1,
  "IsCustomHtml": true,
  "IsRead": false,
  "Recipient": {
    "Id": 1,
    "Name": "John Doe",
    "ThumbnailUrl": "http://url.to/thumbnail.png"
  },
  "ReplyTo": {
    "Id": 1,
    "Name": "John Doe",
    "ThumbnailUrl": "http://url.to/thumbnail.png"
  },
  "Sender": {
    "Id": 1,
    "Name": "John Doe",
    "ThumbnailUrl": "http://url.to/thumbnail.png"
  },
  "Subject": "Hello",
  "UserIsSender": true
}