Skip to main content
POST
/
api
/
v1
/
user
/
chat
/
{chat_type}
/
read
Mark chat as read by the user
curl --request POST \
  --url https://api.hevn.finance/api/v1/user/chat/{chat_type}/read \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
default:Bearer <token>
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-key
string | null

Path Parameters

chat_type
enum<string>
required

Chat types exposed to end users (subset of db.ChatType).

Available options:
support,
compliance

Response

Successful Response