Mark a conversation as read
curl --request POST \
--url https://workspace.passionfroot.me/api/creators/v1/conversations/{conversationId}/read \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://workspace.passionfroot.me/api/creators/v1/conversations/{conversationId}/read', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://workspace.passionfroot.me/api/creators/v1/conversations/{conversationId}/read"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"partnerId": "<string>",
"isUnread": true,
"isArchived": true,
"isBlocked": true,
"lastActivityAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"partner": {
"id": "<string>",
"name": "<string>",
"websiteUrl": "<string>"
}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Too many requests, please try again later."
}Conversations
Mark a conversation as read
Marks activity up to the latest observed message as read without changing lastActivityAt. Naturally idempotent.
POST
/
conversations
/
{conversationId}
/
read
Mark a conversation as read
curl --request POST \
--url https://workspace.passionfroot.me/api/creators/v1/conversations/{conversationId}/read \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://workspace.passionfroot.me/api/creators/v1/conversations/{conversationId}/read', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://workspace.passionfroot.me/api/creators/v1/conversations/{conversationId}/read"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"data": {
"id": "<string>",
"partnerId": "<string>",
"isUnread": true,
"isArchived": true,
"isBlocked": true,
"lastActivityAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"partner": {
"id": "<string>",
"name": "<string>",
"websiteUrl": "<string>"
}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "Too many requests, please try again later."
}