Pular para o conteúdo principal
GET
Get outgoing messages count grouped by entity

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

Parâmetros de consulta

group_by
enum<string>
obrigatório

The entity to group outgoing message counts by.

Opções disponíveis:
agent,
team,
inbox,
label
since
string

The timestamp from where report should start (Unix timestamp).

until
string

The timestamp from where report should stop (Unix timestamp).

Resposta

Success

id
number

The ID of the grouped entity (agent, team, inbox, or label).

name
string

The name of the grouped entity.

outgoing_messages_count
number

The total number of outgoing messages for this entity in the given time range.

Exemplo: