Skip to content

Undelivered notifications with their age. The operator's.

GET
/v1/notifications/undelivered
curl --request GET \
--url https://example.com/v1/notifications/undelivered \
--header 'Authorization: Bearer <token>'

The answer, from one consistent view (REQ-QR-2).

Media typeapplication/json
Array<object>

An undelivered notification, with its age (REQ-EV-6).

object
age
required

How long it has been owed, in milliseconds.

integer format: uint64
notification
required

The notification.

object
anchor
Any of:

An anchor a notification names (REQ-EV-1, AC-M2.4): a final checkpoint of the book.

object
coordinate
required

Its Anchored record on the settlement layer.

object
digest
required

The entry’s digest, hex.

string
instance
required

The instance.

integer format: uint32
seq
required

The position in its inbox.

integer format: uint64
entry_sequence
required

The sequence of the last entry it commits to (REQ-PR-7).

integer format: uint64
height
required

The height of the block that wrote that record.

integer format: uint64
number
required

Its number: the settlement layer’s anchor number.

integer format: uint64
class
required
One of:

Terminal: the outcome is final.

string
Allowed value: terminal
error
Any of:
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
id
required

H(operation, transition), hex: stable across attempts (REQ-EV-3).

string
operation_reference
required

The operation.

string
outcome

The terminal state, where terminal.

string | null
reference
Any of:

Pass-through data (REQ-PO-5): any one JSON value, at most 1024 bytes of UTF-8 as sent. Kept and echoed exactly as sent; never read by aledgent. Over the bound, or not one JSON value, the command is refused with ERR-MalformedCommand.

state
required

The state it entered.

string
terminal
required

Whether it is terminal.

boolean
recipient

The principal it is owed to.

string | null
Example
[
{
"notification": {
"class": "terminal",
"error": {
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}
}
}
]

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}
Retry-After
integer

On ERR-DecisionUnavailable (503): seconds to wait before retrying with the same client key (DEC-27 (g)).