API
보낸 메일이 어떻게 되었는지 읽기
보낸 메일이 어떻게 되었는지, 앱의 분석 페이지가 보여 주는 그대로.
GET/analytics/sending
워크스페이스에 실제 호출을 실행합니다.
GET /analytics/sending
보낸 메일이 어떻게 되었는지, 앱의 분석 페이지가 보여 주는 그대로.
예시
emails:read가 필요합니다. 기간은 days(따로 정하지 않으면 30, 최대 365) 또는 minutes(이쪽이 우선)이며, 가장 오래된 구간의 시작점에서 시작합니다. grain은 기간을 일, 시간, 분 단위로 나눕니다.
curl "$OE/analytics/sending?days=7" -H "$AUTH"{ "object": "sending_analytics", "since": "2026-09-26T00:00:00.000Z", "until": "2026-10-02T09:41:00.000Z", "grain": "day", "offsetMinutes": 0, "totals": { "sends": 412, "testSends": 3, "recipients": 498, "delivered": 486, "failed": 1, "bounced": 8, "complained": 1, "uncertain": 0, "pending": 2 }, "days": [ { "day": "2026-10-01", "sent": 74, "delivered": 72, "failed": 0, "bounced": 2, "complained": 0 } ], "statuses": [{ "label": "sent", "count": 409 }], "sources": [ { "label": "api", "count": 288 }, { "label": "composer", "count": 124 } ], "senders": [{ "label": "[email protected]", "count": 412 }], "suppressed": [{ "label": "bounce", "count": 27 }]}totals는 보낸 것과 그 수신자 수, 그리고 그 결과인 전달, 실패, 반송, 스팸 신고, 불확실, 아직 대기 중을 셉니다. days는 같은 내용을 구간별로 담습니다. statuses, sources, senders는 발송을 상태별, 경로별, 발신 주소별로 세고, suppressed는 발송 차단된 주소를 이유별로 셉니다.
특정 주소로 제한된 키나 앱은 그 주소에서 보낸 메일만 세며, address는 이를 한 주소로 좁힙니다.