Poll the account-level indicator

Does this user have any unseen update? Poll this to show or clear the account-level unread indicator, for example every 60 seconds.

Body·
required
application/json
  • user_id
    Type: string
    required
  • jwt_token
    Type: string
Responses
  • application/json
  • application/json
  • 500

    Miso could not read or write the history store. Retry, and keep what you have on screen — this is no longer reported as an empty list.

Request Example for post/v1/ask/user_history/thread/updates
curl 'https://api.askmiso.com/v1/ask/user_history/thread/updates?api_key=YOUR_SECRET_TOKEN' \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "alice"
}'
{
  "message": "success",
  "data": {
    "has_new": true
  }
}