Skip to main content
GET
/
api
/
v1
/
user
/
chat
/
{chat_type}
/
stream
SSE stream for chat messages
curl --request GET \
  --url https://api.hevn.finance/api/v1/user/chat/{chat_type}/stream \
  --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