Overview
The enforcement log records every send limit action taken across your mailboxes. When a mailbox exceeds its daily send limit, Exchange blocks outbound mail and TenantCore logs the event. When the limit resets and the mailbox is unblocked, that is logged as well. Use this endpoint to audit enforcement activity, debug delivery issues, or monitor send volume trends across your infrastructure.List enforcement events
Returns enforcement events across all your tenants, ordered by most recent first. Supports filtering by tenant and action type, and pagination.| Parameter | Type | Default | Description |
|---|---|---|---|
tenant_id | string | — | Filter events to a specific tenant |
action | string | — | Filter by action: blocked or unblocked |
limit | number | 50 | Number of results to return. Max 200. |
offset | number | 0 | Pagination offset |
| Field | Type | Description |
|---|---|---|
events | array | List of enforcement events |
count | number | Number of events in this response |
total | number | Total matching events across all pages |
limit | number | The limit applied to this request |
offset | number | The offset applied to this request |
filters | object | The filters that were applied |
| Field | Type | Description |
|---|---|---|
tenant_id | string | The tenant this event belongs to |
mailbox_address | string | The affected mailbox email address |
action_taken | string | blocked or unblocked |
sent_count | number | Send count at the time enforcement ran |
limit_value | number | The configured limit at the time of the event |
message | string | Human-readable summary of the enforcement action |
created_at | timestamp | When the enforcement event was logged |
Pagination
Uselimit and offset to page through large result sets. The total field in the response tells you how many matching events exist across all pages.
Errors
| Status | Code | Description |
|---|---|---|
404 | tenant_not_found | Specified tenant_id does not exist or belongs to a different account |