curl --request GET \
--url https://openapi.genesy.ai/v1/conversation/:conversationId/messages \
--header 'x-api-key: <api-key>'{
"status": "success",
"message": "<string>",
"data": {
"conversationId": 123,
"messages": [
{
"id": 123,
"content": "<string>",
"subject": "<string>",
"type": "<string>",
"isContactSender": true,
"isAutosent": true,
"isAudio": true,
"url": "<string>",
"attachment": "<string>",
"attachmentName": "<string>",
"contentType": "<string>",
"createdAt": "2023-12-25",
"updatedAt": "2023-12-25",
"viewCount": 123,
"clickCount": 123
}
]
}
}Retrieve all messages for a specific conversation.
Required scope:
ALLRate limit: 100 requests per minute
curl --request GET \
--url https://openapi.genesy.ai/v1/conversation/:conversationId/messages \
--header 'x-api-key: <api-key>'{
"status": "success",
"message": "<string>",
"data": {
"conversationId": 123,
"messages": [
{
"id": 123,
"content": "<string>",
"subject": "<string>",
"type": "<string>",
"isContactSender": true,
"isAutosent": true,
"isAudio": true,
"url": "<string>",
"attachment": "<string>",
"attachmentName": "<string>",
"contentType": "<string>",
"createdAt": "2023-12-25",
"updatedAt": "2023-12-25",
"viewCount": 123,
"clickCount": 123
}
]
}
}ID of the conversation
Messages retrieved successfully
success Show child attributes
ID of the conversation
List of messages in the conversation
Show child attributes
Unique identifier for the message
Content of the message
Subject of the message (for emails)
Type of message (LINKEDIN, EMAIL, INMAIL, etc.)
Whether the message was sent by the contact (true) or by the identity (false)
Whether the message was sent automatically by Genesy
Whether the message is an audio message
URL associated with the message
Attachment associated with the message
Name of the attachment
Content type of the message (TEXT, AUDIO, IMAGE, VIDEO, FILE)
Date and time when the message was created
Date and time when the message was last updated
Number of times the message has been viewed
Number of times links in the message have been clicked