Skip to main content
GET
List the CNAB agreements

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Organization-Id
string

Midaz organization the CNAB agreements belong to. Required: a request without it, or with a value that is not a canonical UUID, is refused with 400 PBP-0025.

Query Parameters

cursor
string

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

Maximum string length: 512
limit
integer<int64>
default:50

Most items per page.

Required range: 1 <= x <= 200
Example:

50

Response

OK. One page of CNAB agreements.

items
object[]
required

The page's agreements, newest first.

limit
integer<int64>
required

Most agreements the page holds.

Example:

50

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