Mark threads as resolved
POST
/openapi/thread/markresolved
const url = 'https://open-api.replyco.com/openapi/thread/markresolved';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '[ "7d2e9b14-5c3a-4f61-9a8e-2b6c0d4e1f37" ]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://open-api.replyco.com/openapi/thread/markresolved \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '[ "7d2e9b14-5c3a-4f61-9a8e-2b6c0d4e1f37" ]'Marks one or more threads as resolved and updates their status. This action is logged in the changes history.
Note: Maximum 100 thread IDs per request.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”List of thread IDs to mark as resolved
Array<string>
Example
[ "7d2e9b14-5c3a-4f61-9a8e-2b6c0d4e1f37"]Array<string>
Example generated
[ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"]Array<string>
Example generated
[ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"]Array<string>
Example generated
[ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"]Responses
Section titled “Responses”Threads were successfully marked as resolved
Invalid request (e.g., empty list, too many IDs)
User is not authenticated or authorized
One or more thread IDs were not found