Messages
The Message object is used to represent a message within the Chat account.
Properties

idUUID

remote_idString
The third-party API ID of the matching object.

created_atDateTime (ISO 8601)
The datetime that this object was created by Merge.

modified_atDateTime (ISO 8601)
The datetime that this object was modified by Merge.

user_idUUID
The user that sent the message.

conversation_idUUID
The conversation this message belongs to.

bodyString
The body of the message.

subject_lineString
The subject line of the message.

root_message_idUUID
The root message this message belongs to.

urlString
The url of the message.

remote_created_atDateTime (ISO 8601)
When the third party's conversation was created.

remote_updated_atDateTime (ISO 8601)
When the third party's conversation was updated.

remote_was_deletedBoolean
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.


GET
/messages

https://api.merge.dev/api/chat/v1/messages

US
EU
APAC

Returns a list of Message objects.


Query & path parameters

conversation_idUUID
Optional
Filter messages by conversation ID.

created_afterDateTime (ISO 8601)
Optional
If provided, will only return objects created after this datetime.

created_beforeDateTime (ISO 8601)
Optional
If provided, will only return objects created before this datetime.

cursorString
Optional
The pagination cursor value.

include_deleted_dataBoolean
Optional
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_dataBoolean
Optional
Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

modified_afterDateTime (ISO 8601)
Optional
If provided, only objects synced by Merge after this date time will be returned.

modified_beforeDateTime (ISO 8601)
Optional
If provided, only objects synced by Merge before this date time will be returned.

order_byString
Optional
Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at.

page_sizeInteger
Optional
Number of results to return per page. The maximum limit is 100.

remote_idString
Optional
The API provider's ID for the given object.

root_messageString
Optional
If provided as 'true', will only return root messages (messages without a parent message).

Field support by integration
Use the /linked-accounts endpoint to pull platform support information
Microsoft Teams
Microsoft Teams
Not seeing an integration that you're looking for?
GET
/messages/{id}

https://api.merge.dev/api/chat/v1/messages/{id}

US
EU
APAC

Returns a Message object with the given id.


Query & path parameters

idUUID
Required

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_dataBoolean
Optional
Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
Field support by integration
Use the /linked-accounts endpoint to pull platform support information
Microsoft Teams
Microsoft Teams
Not seeing an integration that you're looking for?
GET
/messages/{message_id}/replies

https://api.merge.dev/api/chat/v1/messages/{message_id}/replies

US
EU
APAC

Returns a list of Message objects.


Query & path parameters

cursorString
Optional
The pagination cursor value.

include_deleted_dataBoolean
Optional
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_dataBoolean
Optional
Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

message_idUUID
Required

order_byString
Optional
Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at.

page_sizeInteger
Optional
Number of results to return per page. The maximum limit is 100.

Field support by integration
Use the /linked-accounts endpoint to pull platform support information
Microsoft Teams
Microsoft Teams
Not seeing an integration that you're looking for?