Skip to main content
Create users

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
users
object[]
required

The accounts to create. Each is handled on its own, so one that cannot be created does not stop the rest.

Required array length: 1 - 100 elements
createdOnBehalfOf
string | null

Who the invitation should appear to come from. It is used in the invitation e-mail in place of the caller's own name and is not kept anywhere afterwards.

Example:

"Admin Team"

edition
string | null

Edition to give an organization that is created along with the account. It matters only where a new organization comes into being, which happens when an account is created with none.

sendMail
boolean

Whether an invitation also goes to accounts that are created ready to be used. An account that still has to be activated is always sent one, since it cannot be reached otherwise.

Response

Reports the outcome per account; individual accounts may still have failed, so read the per-item results.

count
integer
required

Number of items the request processed, successful and failed alike.

Example:

22

errors
boolean
required

Whether any item failed. Check it before treating the call as a clean success - the request itself answers 200 even when individual items did not go through.

Example:

false

items
object[]

Per-item outcomes. Endpoints report the failed items here; some also list the successful ones, so read each item's own status rather than inferring it from being listed.