The player's saves for one card
GET
/conversation/archives
const url = 'https://api.harperharbor.com/open/v1/conversation/archives?roleId=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.harperharbor.com/open/v1/conversation/archives?roleId=example' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”roleId
required
string
Responses
Section titled “Responses”Newest first; the current conversation is included.
Media typeapplication/json
object
archives
Array<object>
object
conversationId
string
title
string
isCurrent
boolean
messageCount
integer
lastMessage
string
createTime
string
lastUpdateTime
string
count
integer
limit
integer
Examplegenerated
{ "archives": [ { "conversationId": "example", "title": "example", "isCurrent": true, "messageCount": 1, "lastMessage": "example", "createTime": "example", "lastUpdateTime": "example" } ], "count": 1, "limit": 1}