Change starred status for multiple threads
POST
/openapi/thread/changestarred/{value}
const url = 'https://open-api.replyco.com/openapi/thread/changestarred/true';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '[ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ]'};
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/changestarred/true \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '[ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ]'Marks threads as starred (favorite) or removes the starred status. Starred threads can be filtered and are highlighted in the UI for easy access.
Note: Maximum 100 thread IDs per request.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”value
required
boolean
True to star threads, false to unstar them
Request Body
Section titled “Request Body”List of thread IDs to update
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"]Array<string>
Example generated
[ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"]Responses
Section titled “Responses”Starred status was successfully updated
Invalid request (e.g., empty list, too many IDs)
User is not authenticated or authorized
One or more thread IDs were not found