Favorite a thread
Star or unstar a thread, so a reader can keep the conversations they want to come back to. Send the end state you want rather than a toggle, so a retry cannot turn the star back off. Pass favorite: true to /v1/ask/user_history/list to return only starred threads. Returns 404 when the thread does not exist or belongs to another reader, and 400 without user_id. Listing reads a replica, so a newly starred thread takes up to a minute or two to appear under the filter.
Body·
required
application/json
- Type: stringFormat: uuidthread
_id requiredThe thread's root question id.
question_idis accepted as the older name. - Type: stringuser
_id requiredThe signed-in reader who owns the thread.
- Type: booleanfavorite
truestars the thread,falseremoves the star. Idempotent: send the end state you want.
Responses
- application/json
- application/json
- application/json
- application/json
Request Example for post/v1/ask/user_history/thread/favorite
curl https://api.askmiso.com/v1/ask/user_history/thread/favorite \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"thread_id": "0e1f2a3b-4c5d-6e7f-8a9b-0c1d2e3f4a5b",
"user_id": "alice"
}'
{
"message": "success",
"data": {
"thread_id": "0e1f2a3b-4c5d-6e7f-8a9b-0c1d2e3f4a5b",
"question_id": "0e1f2a3b-4c5d-6e7f-8a9b-0c1d2e3f4a5b",
"favorite": true,
"favorited_at": "2026-06-12T11:02:44.120000"
}
}