Organization API

Reference for the 11 Organization operations in the Intuidy API.

Updated in Intuidy 2026.11.1811 min read

Responses are JSON. A successful response is { "success": true, "data": …, "meta": … }, and each operation below documents its data. Errors use the error envelope described in Errors, pagination and limits.

OperationMethod and pathAuthorization
List the organization's human usersGET /usersusers:read
Create (invite) a userPOST /usersusers:write
Get one userGET /users/{userId}users:read
Update a userPATCH /users/{userId}users:write
Delete a userDELETE /users/{userId}users:write
List a company's rolesGET /rolesusers:read
Create a rolePOST /rolesusers:write
Get one roleGET /roles/{roleId}users:read
Update a rolePATCH /roles/{roleId}users:write
Delete a roleDELETE /roles/{roleId}users:write
The assignable permission catalogGET /roles/permissionsusers:read

List the organization's human users

GET /users

Rows carry roles and month-to-date creditsUsed; password hashes are never returned. ?client_id narrows to one company inside the key's scope (403 outside it).

Authorization: scope users:read.

Query parameters

NameTypeRequiredDescription
pageintegerNo—
limitinteger (≤ 100)No—
searchstringNoName/email contains
client_idintegerNoMust be inside the key's scope

Response 200 OK

data fields:

FieldTypeDescription
usersarray of OrgUser—
paginationobject—
pagination.pageinteger—
pagination.limitinteger—
pagination.totalinteger—

Errors 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/users" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Create (invite) a user

POST /users

Requires the key owner's manage_users permission — see the section note. Role ids must belong to the target company. roleIds and role_ids are accepted as aliases.

Authorization: scope users:write.

Request body (application/json)

FieldTypeRequiredDescription
emailstringYes—
passwordstringYes—
first_namestringNo—
last_namestringNo—
client_idintegerNoDefaults to the key's company; must be inside the key's scope
is_activebooleanNoDefault true
roleIdsarray of integerNo—

Response 201 Created

data fields:

FieldTypeDescription
userOrgUser—

Errors 400, 403 (INSUFFICIENT_SCOPE), 409. See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/users" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"<email>","password":"<password>"}'

Get one user

GET /users/{userId}

A user outside the key's scoped companies is a 404 — the API never confirms an id it will not serve.

Authorization: scope users:read.

Path parameters

NameTypeRequiredDescription
userIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
userOrgUser—

Errors 404. See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/users/<userId>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Update a user

PATCH /users/{userId}

Updates the fields sent. Requires the key owner's manage_users permission. A role must belong to the user's company.

Authorization: scope users:write.

Path parameters

NameTypeRequiredDescription
userIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
emailstringNo—
first_namestringNo—
last_namestringNo—
client_idintegerNoMoves the user to another company in the key's scope. The move clears the user's roles and default dashboard, so send that company's roleIds in the same request.
is_activebooleanNo—
passwordstringNo—
roleIdsarray of integerNo—

Response 200 OK

Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
curl -X PATCH "https://vantage.intuidy.com/api/v1/users/<userId>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"<email>"}'

Delete a user

DELETE /users/{userId}

The key's OWNER is the actor, so a key cannot delete its own owner.

Two refusals ask for an acknowledgement and are retried with a query parameter: LAST_ACTIVE_USER (the company's last active user; retry with allowLastActiveUser=1) and HAS_OWNED_CONTENT (the user still owns dashboards, workflows, notebooks or agents; retry with successorUserId, an active user of the same company who inherits them, or force=1 to leave them ownerless). A successor from another company is refused (403), even one inside the key's scope, and so is an inactive successor (422).

Authorization: scope users:write.

Path parameters

NameTypeRequiredDescription
userIdintegerYes—

Query parameters

NameTypeRequiredDescription
allowLastActiveUser"1"NoConfirm removing the company's last active user (billing notices would reach nobody).
successorUserIdintegerNoAn active user of the same company who inherits the content the deleted user owned.
force"1"NoDelete even though owned content stays ownerless.

Response 200 OK

Errors 400, 403 (INSUFFICIENT_SCOPE), 404, 409 (LAST_ACTIVE_USER, HAS_OWNED_CONTENT), 422 (INVALID_INPUT). See Errors, pagination and limits.

Example request

bash
curl -X DELETE "https://vantage.intuidy.com/api/v1/users/<userId>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

List a company's roles

GET /roles

With per-role user counts. ?client_id picks a company inside the key's scope; defaults to the key's company.

Authorization: scope users:read.

Query parameters

NameTypeRequiredDescription
client_idintegerNo—

Response 200 OK

data fields:

FieldTypeDescription
rolesarray of OrgRole—

Errors 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/roles" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Create a role

POST /roles

Requires the key owner's manage_roles permission. Enum fields are validated against the shared lists (see GET /roles/permissions for the accepted values) — unknown values are a 400. Snake_case aliases (credit_budget, budget_period, overage_action) are accepted. The organization's role budget policy applies.

Authorization: scope users:write.

Request body (application/json)

FieldTypeRequiredDescription
namestringYes—
descriptionstringNo—
contextstringNo—
permissionsobjectNo{permissionId: boolean} — ids from GET /roles/permissions
creditBudgetnumber or nullNo—
budgetPeriodstringNo—
overageActionstringNo—
client_idintegerNoDefaults to the key's company; must be inside the key's scope

Response 201 Created

Errors 400, 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X POST "https://vantage.intuidy.com/api/v1/roles" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"<name>"}'

Get one role

GET /roles/{roleId}

A role outside the key's scoped companies is a 404, never a 403 that would confirm it exists.

Authorization: scope users:read.

Path parameters

NameTypeRequiredDescription
roleIdintegerYes—

Response 200 OK

data fields:

FieldTypeDescription
roleOrgRole—

Errors 404. See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/roles/<roleId>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Update a role

PATCH /roles/{roleId}

A real patch: fields omitted from the body keep their current values. Requires the key owner's manage_roles permission. A system role's permissions are immutable.

Authorization: scope users:write.

Path parameters

NameTypeRequiredDescription
roleIdintegerYes—

Request body (application/json)

FieldTypeRequiredDescription
namestringNo—
descriptionstringNo—
contextstringNo—
permissionsobjectNo—
creditBudgetnumber or nullNo—
budgetPeriodstringNo—
overageActionstringNo—

Response 200 OK

Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
curl -X PATCH "https://vantage.intuidy.com/api/v1/roles/<roleId>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"<name>"}'

Delete a role

DELETE /roles/{roleId}

System roles are never deletable.

Authorization: scope users:write.

Path parameters

NameTypeRequiredDescription
roleIdintegerYes—

Response 200 OK

Errors 400, 403 (INSUFFICIENT_SCOPE), 404. See Errors, pagination and limits.

Example request

bash
curl -X DELETE "https://vantage.intuidy.com/api/v1/roles/<roleId>" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

The assignable permission catalog

GET /roles/permissions

The same catalog the Role editor shows, so an API consumer building a role can validate permission ids without scraping the UI: the grouped form, a flat {id, label, description?, group} list, the implication map (broader flags that also satisfy a narrower check), and the budget enums the role endpoints accept.

Authorization: scope users:read.

Response 200 OK

data fields:

FieldTypeDescription
groupsarray of object—
permissionsarray of object—
permissions[].idstring—
permissions[].labelstring—
permissions[].descriptionstring—
permissions[].groupstring—
impliesobject—
budgetPeriodsarray of string—
overageActionsarray of string—

Errors 403 (INSUFFICIENT_SCOPE). See Errors, pagination and limits.

Example request

bash
curl -X GET "https://vantage.intuidy.com/api/v1/roles/permissions" \
  -H "Authorization: Bearer $INTUIDY_API_KEY"

Objects

OrgRole

FieldTypeDescription
idinteger—
namestring—
descriptionstring or null—
contextstring or null—
permissionsobject{permissionId: boolean} — ids from GET /roles/permissions
createdstring (date-time)—
modifiedstring (date-time)—
userCountinteger—
clientIdinteger—
isSystembooleanSystem roles adopt every permission; their permission map is immutable and they cannot be deleted
creditBudgetnumber or null—
budgetPeriodstring—
overageActionstring—

OrgUser

A human user as the user operations return them. Password hashes are never returned. Create/update responses omit created and creditsUsed.

FieldTypeDescription
idinteger—
emailstring—
first_namestring or null—
last_namestring or null—
client_idinteger—
client_namestring—
is_activeboolean—
default_dashboardinteger or nullThe dashboard the user lands on
job_titlestring or null—
departmentstring or null—
locationstring or null—
biostring or null—
createdstring (date-time)—
rolesarray of object—
roles[].idinteger—
roles[].namestring—
creditsUsednumberMonth-to-date tokens used (list only)