Invite (or provision) a single user
POST/users/invite
Creates a user account in the org and optionally sends an invitation email. If the email already exists in the org, the existing user is returned with created: false. Supply externalRef for idempotent upserts — a second call with the same ref returns the existing entity.
Request
Header Parameters
Optional idempotency key (24 h cache). Repeat calls with the same key and path return the cached response.
Body
required
alice@example.comPossible values: non-empty
Alice SmithOrg role. admin/platform_admin are rejected. Defaults to 'user'.
developerProjects to add the user to as member.
Send email invitation. Default true.
trueexternalRef
object
Optional provider reference for idempotent upserts.
Possible values: non-empty
illumeraPossible values: non-empty
userPossible values: non-empty
illumera-user-001metadata
object
OK (user already existed)
Schema
9a8b7c6d-0000-0000-0000-000000000002Set when an invitation email was dispatched.
3fa85f64-5717-4562-b3fc-2c963f66afa6True when a new user/invitation was created; false when an existing entity was returned.
truePossible values: [invited, existing, linked]
invited