Skip to main content
GET
/
dashboards
/
whatsapp
Métricas WhatsApp
curl --request GET \
  --url http://localhost:3000/dashboards/whatsapp \
  --header 'Authorization: Bearer <token>'
Retorna contadores de mensagens agrupados por status e direcao. Se nenhum periodo for especificado, retorna os ultimos 30 dias.

Authorizations

Authorization
string
header
required

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

Query Parameters

from
string

Data inicial (ISO 8601)

Example:

"2025-01-01T00:00:00.000Z"

to
string

Data final (ISO 8601)

Example:

"2025-01-31T23:59:59.999Z"

Response

200

Métricas retornadas com sucesso