cURL
iMessage
Get Conversation History
Get iMessage conversation history for a chat
GET
cURL
Technically, iCloud emails are supported… but their behavior is unpredictable.

Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Recipient's iMessage address. Must be in E.164 format.
Example:
"+1234567890"
Leased iMessage number that has been used to send messages to the recipient. Must be in E.164 format.
Example:
"+15555555555"
Limit of how many messages to return, default is 20. Should never exceed 200.
Example:
20