Pular para o conteúdo principal
GET
List the notices received from the PCR

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de consulta

organizationId
string<uuid>

Only the notices matched with a title of this Midaz organization. It only filters: the permission covers all the tenant's notices.

state
enum<string>

Only the notices in this state.

Opções disponíveis:
RECEIVED,
APPLIED,
PENDING_ASSOCIATION,
CONFLICT,
DISCARDED
type
string

Only the notices of this PCR event type name.

Maximum string length: 64
Pattern: ^[a-z]+\.[a-z_]+$
Exemplo:

"boleto.writeoff_received"

titleId
string<uuid>

Only the notices matched with this collections title.

from
string

Lower bound of receivedAt, inclusive. A calendar date (YYYY-MM-DD) is a UTC day and starts at its first instant; an RFC 3339 date-time with offset (e.g. 2026-11-01T00:00:00-03:00) is used as the exact instant. A positive offset must be percent-encoded (%2B).

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?(Z|[+-][0-9]{2}:[0-9]{2}))?$
Exemplo:

"2026-11-01"

to
string

Upper bound of receivedAt, inclusive. A calendar date (YYYY-MM-DD) is a UTC day and covers it to its last instant; an RFC 3339 date-time with offset (e.g. 2026-11-30T23:59:59.999999-03:00) is used as the exact instant. A positive offset must be percent-encoded (%2B).

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?(Z|[+-][0-9]{2}:[0-9]{2}))?$
Exemplo:

"2026-11-30"

cursor
string

Opaque cursor returned in nextCursor or prevCursor. Left out, the first page.

Maximum string length: 512
limit
integer<int64>
padrão:20

Most notices per page.

Intervalo obrigatório: 1 <= x <= 100
Exemplo:

20

Resposta

OK. One page of notices.

items
object[]
obrigatório

The page's notices, oldest first.

limit
integer<int64>
obrigatório

Most notices the page holds.

Exemplo:

20

nextCursor
string | null

Cursor of the page after this one; null on the last page.

Maximum string length: 512
prevCursor
string | null

Cursor of the page before this one; null on the first page.

Maximum string length: 512