Skip to main content

Users

The Users endpoints manage the team members associated with your company. They use the standard company_id + api_key authentication, the same as all other VH3 AI endpoints. Base URL: https://api.vh3connect.io/api:kP8T1CK7
These endpoints are server-side only. The api_key must never be sent from a browser, mobile app, or any client-side code. If you are building an interactive front-end, use the User Authentication (JWT) endpoints instead, your users log in once and every subsequent call uses a Bearer token, with no API key in the browser.

GET /users/list

List all active (non-archived) users for your company. Query parameters:
Response:

GET /users/invites

List pending (not yet accepted) invitations for your company. Query parameters:
Response:

POST /users/invite

Invite a user to your company by email. Sends an invitation email via SendGrid with an accept link. If the email address already exists in the system without a company, they are immediately linked to your company. Request body:
Response:
Error responses:

PUT /users//role

Update the role of a user within your company. Returns the updated user record. Request body:
Response:
Error responses:

DELETE /users/

Archive (soft-delete) a user. The user’s record is preserved but is_archived is set to true, they can no longer log in and will not appear in GET /users/list. Request body:
Response:
Error responses: