Skip to main content
POST
Create doctor accounts in bulk

Authorizations

Authorization
string
header
required

API key passed as a Bearer token

Body

application/json

Request body for creating several institutional doctor accounts in one call.

accounts
CreateAccountRequest · object[]
required

The doctor accounts to create (1–10). Each item takes the same fields as the single-create endpoint. The whole request is rejected before any account is created when it repeats an email or an internalCode.

Required array length: 1 - 10 elements

Response

Successful Response

Per-item outcome of a batch account-creation request.

The request never fails as a whole once creation starts: each account is created independently, so an entry can succeed while another fails. The results keep the request order.

results
BatchAccountResult · object[]
required

One entry per submitted account, in the order received.

createdCount
integer
required

Number of accounts created.

Example:

1

failedCount
integer
required

Number of accounts that were not created.

Example:

1