Skip to main content
Create one user in your company, not invited yet, and return them. One user per call, as Add user manually does in the Qobra web app. The user gets the company’s default role and the Not invited status. Qobra links them to the user holding the same email in each connected integration (CRM, HRIS). Qobra looks these users up live, so the call can take a while. Inviting the user, and changing their role, email or status, happen in the Qobra web app only. An email a user of the company already holds creates nothing. The call returns that user with created set to false, archived users included. You restore an archived user in the Qobra web app. The call is refused, and nothing is created, when:
  • the email is invalid.
  • the email cannot be used, for example because a user of another company already holds it.
  • the caller lacks write permission on users.
The user is still created when part of the setup could not be done. Each part left undone is listed in warnings:
  • the license, when no seat is free or the company has no licenses activated. update_user gives it later.
  • the link to an integration whose user is already linked to another Qobra user, that did not answer, or that is paused.
Once created, set up the user with the tools that change any user: Every call needs write permission on users. Every write is recorded in the audit trail as the Qobra MCP agent.
Example arguments

Parameters

Body

string
required
The email the user logs in with.
string
required
Display name.
boolean
default:"false"
True to give the user a license (a paid seat). Only licensed users have their compensations calculated. update_user gives or takes it later.

Response

Body

object
The user created, or the one already holding the email when created is false.
boolean
False when a user of the company already held this email: nothing was created, and user is that user as they stand, archived ones included.
string[]
What the creation could not do, each to tell the person: a license not given, an integration the user is not linked in. Empty when nothing was left undone.