v10

latestOpenAPI 3.0.3raw.githubusercontent.com2025-11-287137165.5 KB
User Management

Create/Add user

Creates a new user and sends an invitation email if the user does not exist. Adds the new or existing user to the current account. If the user already exists and is already a member of the account, an error is returned

  • If the user already exists but isn't a member of the account, they are added without creating a new user record
  • The user won't be able to access the account until they complete the activation process by setting their password
  • For security, new users must set their own password via the activation link
  • The function schedules cleanup tasks to remove unactivated user accounts after a certain period of time (48 hours)
post/accounts/users

Request body

first_namestring required

First name

last_namestring required

Last name

emailstring email required

Email address

role'admin' | 'developer' | 'monitor' | 'billing' required

Role

Response

User created successfully

messagestring