ContributionsMost RecentMost LikesSolutionsRe: Cannot successfully archive message via API v2 you might need to try with the type message parameter so body changes to body({"messageId":"32815","type":"message"}). Re: Api V2 Update message version 2 does not work SuzieH it was 200 ok if I included other properties like context_id and updated that it would update. The api v1 move message worked but it can't move to a nested position. It seems like setting the topic and parent objects were just ignored. However I don't need to use this anymore since the spam api calls were added. However, at the time I needed this, it was not working from what it looks like. Documentaion liql constraint not working In this section https://tinyurl.com/y5yft23y it says I can use messages.count(*) https://tinyurl.com/yxmp3bbg as a constraint in the WHERE clause. However, once I use it I get the error in the API browser and endpoint that I can't use it https://tinyurl.com/yxdedb6v . SolvedRe: Api to place message in spam quarantine @DaveEv SuzieH thank you , will try these out soon Re: Api to place message in spam quarantine SuzieH thanks, it would be nice because there are ways to remove messages and ban users, however marking a message as spam helps improve the spam filters according to Khoros so having a way to programmatically would help us with our spam management. Re: Api to place message in spam quarantine https://tinyurl.com/y27olka4 that was the only thing I saw when looking for another solution, however I get this error https://tinyurl.com/yxf4kxa7 when trying . Is this api call still possible to use. calling like this <#assign pathConstruct = "/messages/id/${messageId}/moderation/reject" /> <#assign apiResults = restadmin(pathConstruct) /> SuzieH Api V2 Update message version 2 does not work I use api v1 to move a message which works however when I try and assign a parent to it to make it nested after moving it , it does not update the parent or topic. Following the documentation correctly here https://developer.khoros.com/khoroscommunitydevdocs/reference/messages-1#update-message . It's not clear what requirements are needed to update the message but the documentation says those two properties parent and topic should be updatable. <#assign pathConstruct = "/messages/id/${messageId}/move/board/id/${newBoard}" /> <#assign apiResults = restadmin(pathConstruct) /> <#assign messagePostCallParent = restBuilder() .method("PUT") .path("/messages/${messageId}") .body({ "type": "message", "parent": "${parentIdParent}", "topic" : {"id":"${parentIdParent}"} }) .admin(true) /> <#assign respParent = messagePostCallParent.call() /> Api to place message in spam quarantine Is there any programmatic way to mark a message as spam and then place it in spam quarantine for a Khoros Community? SolvedRe: Move a message programmatically to a different board <#assign pathConstruct = "/messages/id/${messageId}/move/board/id/BoardId" /> <#assign apiResults = restadmin(pathConstruct) /> Move a message programmatically to a different board thanks, trying the below to move the message. I looked at v1 and v2 calls and neither are working. The error message I get for the call below is the second snippet. I couldn't find any specific documentation for how to move a message. Any advice please? 1st snippet <#assign pathConstruct = "/messages/${messageId}" /> <#assign messagePostCall = restBuilder().method("PUT").path(pathConstruct).body({"board": {"id" :"UserReportedSpam","type": "board"}} ).admin(true) /> <#assign userCanRemovePost = true /> <#assign resp = messagePostCall.call() /> 2nd snippet InMemoryObjectInstanceTemplateModel{entity=InMemoryObjectInstance [fieldMap={http_code=null, data=InMemoryObjectInstance [fieldMap={code=303, developer_message=messages is not a valid collection name (for the objectKey: ObjectKey[board(version: 1)]), more_info=, type=error_data}, object=ObjectKey[error_response_data(version: 1)]], message=board is not a valid object for the messages collection., status=error}, object=ObjectKey[error_response(version: 1)]]} Solved