This API retrieves the download links to all the files associated with a conversation id.

Request

Method URL
GET https://{domain}/v1/account/{accountId}/conversation-files

Request Headers

Header Description
Authorization Contains token string to allow request authentication and authorization: "Bearer {token}".
Content-Type application/json

Path Parameters

Parameter Description Type / Value
accountId LP site ID String

Query Parameters

Parameter Description Type / Value Required
conversationId Conversation ID for which files are requested String Yes
page The page number. Default value is 0 int No
pageSize Number of items per page. Default value is 100. int No

Response

Response Codes

Code Description
200 OK
400 Bad Request
401 Unauthorized
403 Forbidden
429 Too Many Requests
500 Internal Server Error

Response Body

Entity Structure

Attribute Description Type / Value Notes
items An array of download links to all the files associated with the provided conversation id. The list is sorted by creation date from oldest to newest String  
pagination A standard pagination block containing the total files matched by the conversation id, total pages, current page, next page and the previous page String  

Entity Example

{
 "items": ["downloadUrl", "downloadUrl"],
 "pagination": {
  "totalRecords": 20,
  "currentPage": 1,
  "totalPages": 10,
  "nextPage": 2,
  "prevPage": null
 }
}