Skip to main content
GET
/
api
/
v1
/
hubs
/
{hub_id}
/
conversations
/
unread-total
Get Hub Unread Total
curl --request GET \
  --url https://api.member.dev/api/v1/hubs/{hub_id}/conversations/unread-total \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "attributes": {
      "total": 123
    },
    "id": "<string>",
    "type": "<string>",
    "links": {
      "self": "<string>"
    },
    "meta": {},
    "relationships": {}
  },
  "included": [
    "<unknown>"
  ],
  "links": {
    "self": "<string>"
  },
  "meta": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

hub_id
string
required

Response

Successful Response

data
JsonApiResource[UnreadTotalAttributes] · object
required
included
any[] | null
meta
Meta · object