Saltar al contenido principal
GET
List beneficiaries

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de consulta

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.

Opciones disponibles:
REQUESTED,
CONSULTED,
HELD_BY_ALERT,
SUBMITTED,
ACCEPTED,
REJECTED,
DISABLED
baseSituation
enum<string>

Only the beneficiaries with this situation in the beneficiary base.

Opciones disponibles:
FIT,
UNDER_REVIEW,
UNFIT
page
integer<int64>
predeterminado:1

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

Rango requerido: x >= 1
Ejemplo:

1

limit
integer<int64>
predeterminado:20

Most beneficiaries per page, 1 to 100.

Rango requerido: 1 <= x <= 100
Ejemplo:

20

Respuesta

OK. A page of beneficiaries.

items
object[]
requerido

The page's beneficiaries, oldest first.

limit
integer<int64>
requerido

Most beneficiaries the page holds.

Ejemplo:

20

page
integer<int64>
requerido

The page, from 1.

Ejemplo:

1

total
integer<int64>
requerido

How many beneficiaries the filters match, in every page.

Ejemplo:

3