Skip to content

Deliverability API · Alpha / unstable

Retrieve per-inbox Microsoft 365 failure diagnostics

GET
/inboxes/bounces
curl --request GET \
--url 'https://api.builders.ac/api/deliverability/v1alpha1/inboxes/bounces?range=1h&limit=25' \
--header 'Authorization: Bearer <token>'

Observed outbound failed-recipient deliveries for live account-owned inboxes on their current placement. from is inclusive and to exclusive. Trace data only: these counts can lag and differ from the mixed-source /bounces resource. No per-inbox rate or sent denominator is asserted. No raw message content, recipients, tenant IDs or infrastructure details are returned. sender_id and debug are rejected.

range
string
default: 7d
Allowed values: 1h 8h 24h 3d 7d 14d

Time window. Defaults to 7d.

domain_group_id
string
/^grp_[0-9a-z]{26}$/

Restrict data to one domain group owned by the authenticated account.

domain_id
string
/^dom_[0-9a-z]{26}$/

Restrict data to one domain owned by the authenticated account.

inbox_id
string
/^inb_[0-9a-hjkmnp-tv-z]{26}$/

Restrict to one account-owned inbox. Unknown, foreign, or excluded inboxes return 404.

limit
integer
default: 25 >= 1 <= 100
starting_after
string
<= 2048 characters

Opaque cursor returned as next_cursor. Keep the same filters. Expires after two hours; the time window remains fixed across pages, but source data can receive late updates.

Retrieve per-inbox Microsoft 365 failure diagnostics

Media typeapplication/json
object
data
required
Array<object>
object
inbox_id
required
string
/^inb_[0-9a-hjkmnp-tv-z]{26}$/
email
required
string format: email
domain_id
required
string
/^dom_[0-9a-z]{26}$/
isolation_group
required

Opaque current Microsoft 365 placement group. Compare equality only within an owning account. Null means unknown. May change on infrastructure changes or application key rotation. Not an authorization token.

string | null
/^iso_[a-f0-9]{64}$/
failures
required
object
hard
required
integer
soft
required
integer
pending
required
integer
causes
required
Array<object>
object
cause
required
string
enhanced_code
required
string | null
/^[45]\.[0-9]{1,3}\.[0-9]{1,3}$/
count
required
integer
last_failure_at
required
string | null format: date-time
codes_truncated
required

True when excessive distinct codes were collapsed into cause totals with a null enhanced_code. Counts are preserved.

boolean
supported
required

Whether this inbox has a current, account-owned Microsoft 365 placement.

boolean
last_trace_run_at
required

Last recorded trace run, not a completeness watermark for failure details.

string | null format: date-time
has_more
required
boolean
next_cursor
required
string | null
meta
required
object
range
required
string
default: 7d
Allowed values: 1h 8h 24h 3d 7d 14d
from
required
string format: date-time
to
required
string format: date-time
computed_at
required
string format: date-time
source
required
Allowed value: microsoft_365_message_trace
counting_unit
required
Allowed value: failed_recipient_deliveries
placement_scope
required
Allowed value: current
complete
required

Trace ingestion and detail enrichment are asynchronous. Zero observed failures never establishes health.

retained_since
required
string format: date-time
cause_catalogue_version
required
string
Example
{
"meta": {
"range": "1h",
"source": "microsoft_365_message_trace",
"counting_unit": "failed_recipient_deliveries",
"placement_scope": "current",
"complete": false
}
}

RFC 9457 problem details

Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
>= 400 <= 599
detail
required
string
code
required
string
retryable
required
boolean
correlation_id
required
string
retry_after
string format: date-time
errors
object
key
additional properties
Array<string>
key
additional properties
any
Examplegenerated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"retryable": true,
"correlation_id": "example",
"retry_after": "2026-04-15T12:00:00Z",
"errors": {
"additionalProperty": [
"example"
]
}
}

RFC 9457 problem details

Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
>= 400 <= 599
detail
required
string
code
required
string
retryable
required
boolean
correlation_id
required
string
retry_after
string format: date-time
errors
object
key
additional properties
Array<string>
key
additional properties
any
Examplegenerated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"retryable": true,
"correlation_id": "example",
"retry_after": "2026-04-15T12:00:00Z",
"errors": {
"additionalProperty": [
"example"
]
}
}

RFC 9457 problem details

Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
>= 400 <= 599
detail
required
string
code
required
string
retryable
required
boolean
correlation_id
required
string
retry_after
string format: date-time
errors
object
key
additional properties
Array<string>
key
additional properties
any
Examplegenerated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"retryable": true,
"correlation_id": "example",
"retry_after": "2026-04-15T12:00:00Z",
"errors": {
"additionalProperty": [
"example"
]
}
}

RFC 9457 problem details

Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
>= 400 <= 599
detail
required
string
code
required
string
retryable
required
boolean
correlation_id
required
string
retry_after
string format: date-time
errors
object
key
additional properties
Array<string>
key
additional properties
any
Examplegenerated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"retryable": true,
"correlation_id": "example",
"retry_after": "2026-04-15T12:00:00Z",
"errors": {
"additionalProperty": [
"example"
]
}
}

RFC 9457 problem details

Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
>= 400 <= 599
detail
required
string
code
required
string
retryable
required
boolean
correlation_id
required
string
retry_after
string format: date-time
errors
object
key
additional properties
Array<string>
key
additional properties
any
Examplegenerated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"retryable": true,
"correlation_id": "example",
"retry_after": "2026-04-15T12:00:00Z",
"errors": {
"additionalProperty": [
"example"
]
}
}

RFC 9457 problem details

Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
>= 400 <= 599
detail
required
string
code
required
string
retryable
required
boolean
correlation_id
required
string
retry_after
string format: date-time
errors
object
key
additional properties
Array<string>
key
additional properties
any
Examplegenerated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"retryable": true,
"correlation_id": "example",
"retry_after": "2026-04-15T12:00:00Z",
"errors": {
"additionalProperty": [
"example"
]
}
}

RFC 9457 problem details

Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
>= 400 <= 599
detail
required
string
code
required
string
retryable
required
boolean
correlation_id
required
string
retry_after
string format: date-time
errors
object
key
additional properties
Array<string>
key
additional properties
any
Examplegenerated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"code": "example",
"retryable": true,
"correlation_id": "example",
"retry_after": "2026-04-15T12:00:00Z",
"errors": {
"additionalProperty": [
"example"
]
}
}