Skip to main content
GET
/
integrations
/
external
/
chats
/
notifications
/
unread
Resumo de nao lidas
curl --request GET \
  --url https://api.wegly.com.br/integrations/external/chats/notifications/unread \
  --header 'Authorization: Bearer <token>'
{
  "unread_messages_total": 123,
  "unread_chats_total": 123
}

Authorizations

Authorization
string
header
required

Utilize o token de integração no header Authorization: Bearer {token}. O domínio de origem (Origin/Referer) deve respeitar allowed_domain, quando configurado na chave.

Response

Resumo agregado de notificações.

unread_messages_total
integer
unread_chats_total
integer