Série temporal de e-mails
get
https://app.madmail.com.br/api/v1/analytics/email-time-seriesRequer autenticação: Authorization: Bearer us_SUA_CHAVE
Parâmetros de consulta
daysstringOpcionalNúmero de dias para recuperar os dados (padrão: 30)
- Valores:
- "7" · "30"
domainIdstringOpcionalFiltrar por ID do domínio
Exemplo de requisição
curl -X GET "https://app.madmail.com.br/api/v1/analytics/email-time-series" \
-H "Authorization: Bearer us_SUA_CHAVE"Resposta
200Recupera a série temporal de dados de e-mail
resultarray<object>ObrigatóriodatestringObrigatóriosentintegerObrigatóriodeliveredintegerObrigatórioopenedintegerObrigatórioclickedintegerObrigatóriobouncedintegerObrigatóriocomplainedintegerObrigatóriototalCountsobjectObrigatóriosentintegerObrigatóriodeliveredintegerObrigatórioopenedintegerObrigatórioclickedintegerObrigatóriobouncedintegerObrigatóriocomplainedintegerObrigatório{
"result": [
{
"date": "string",
"sent": 1,
"delivered": 1,
"opened": 1,
"clicked": 1,
"bounced": 1,
"complained": 1
}
],
"totalCounts": {
"sent": 1,
"delivered": 1,
"opened": 1,
"clicked": 1,
"bounced": 1,
"complained": 1
}
}