Skip to main content
GET
List beneficiaries

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Query Parameters

organizationId
string<uuid>

Only the beneficiaries enabled from accounts of this Midaz organization. It only filters: the permission covers all the tenant's beneficiaries.

holderId
string<uuid>

Only the beneficiary of this holder, the person in the platform's people registry.

accountId
string<uuid>

Only the beneficiaries with an agreement of this Midaz account, in any state.

enablementState
enum<string>

Only the beneficiaries whose enablement is in this state.

Available options:
REQUESTED,
CONSULTED,
HELD_BY_ALERT,
SUBMITTED,
ACCEPTED,
REJECTED,
DISABLED
baseSituation
enum<string>

Only the beneficiaries with this situation in the beneficiary base.

Available options:
FIT,
UNDER_REVIEW,
UNFIT
page
integer<int64>
default:1

Page number, from 1. A page past the last answers no beneficiary.

Required range: x >= 1
Example:

1

limit
integer<int64>
default:20

Most beneficiaries per page, 1 to 100.

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

20

Response

OK. A page of beneficiaries.

items
object[]
required

The page's beneficiaries, oldest first.

limit
integer<int64>
required

Most beneficiaries the page holds.

Example:

20

page
integer<int64>
required

The page, from 1.

Example:

1

total
integer<int64>
required

How many beneficiaries the filters match, in every page.

Example:

3