Get an external user

Retrieves the details of a specific user identified by their external system ID. Use this endpoint to look up users managed by an external identity provider.

get
https://api.us.vzconnect.com/cmd/v1/users/external/{externalId}

Path Parameters

externalIdstringrequired

The unique identifier for the user in the external system, in the format scope:value (for example hr_system:emp-1042).

Example:hr_system:emp-1042

Response

application/json

Successfully retrieved the external user details.

ExternalUserRecord

A wrapper object containing an external user and supplemental hypermedia links.

userobject

A REVEAL user record that is managed by an external system.

Show Child Parameters
_linksobject | null

The links provided enable the integration user to gather additional meta data for a User record. The groups link provides details on which groups the User record belongs to within the REVEAL account.

Show Child Parameters
 
application/json

Update an external user

Updates the details of an existing user identified by their external system ID. Use this endpoint to synchronize user profile changes from an external system into REVEAL. The ExternalId in the request body replaces the stored external ID; it is not checked against the ExternalId in the path.

put
https://api.us.vzconnect.com/cmd/v1/users/external/{externalId}

Path Parameters

externalIdstringrequired

The unique identifier for the user in the external system, in the format scope:value (for example hr_system:emp-1042).

Example:hr_system:emp-1042

Body

application/json

The updated external user details, including the required ExternalId.

ExternalUserInput

The request body fields provided when creating (POST) or editing (PUT) an external user record. Same fields as a user, plus the required ExternalId.

FirstNamestringrequired

The first name of the user.

Example:Lonny

LastNamestringrequired

The last name of the user.

Example:Arking

EmailAddressstringrequired

The email address for the user. The email address is also the REVEAL username login and is mandatory when creating a user record.

Example:user@example.com

EmployeeIdstringrequired

Employee ID is the unique identifier for the user within REVEAL. Not a mandatory field within the REVEAL account, but required for the API.

Example:777099

MobileNumberstring | null

The phone number for the user.

Example:null

IsAdministratorboolean

Boolean field for true or false. Default is false. True indicates that the user is an Administrator for the referenced REVEAL account.

Default:false

Example:true

IsRegionalAdministratorboolean

Boolean field for true or false. Default is false. Can only be set to true if the corresponding REVEAL account is enabled with Regional Administration permission.

Default:false

Example:false

Rolestring | null

The name of the role applied to the user. Can be NULL if the user is an Administrator or a Regional Admin.

Example:Demo

TimeZonestring | null

The time zone selection for the user. Follows ISO time zone abbreviations. If NULL, defaults to the Account Preferences selection.

Example:null

Regionstring | null

The Region selection for the user. Follows ISO alpha 3 country codes.

Example:null

Languagestring | null

The Language selection for the user. Follows IETF language tags.

Example:null

IsDriverboolean

Boolean field for true or false. Default is false. If the user should also be a Driver, a unique Driver Number must also be provided.

Default:false

Example:false

DriverNumberstring | null

The Driver Number is the unique identifier used to reference the driver within the API. Required for the API when the user is a Driver.

Example:null

ExternalIdstringrequired

The unique identifier for the user in the external system, in the format scope:value. 3 to 96 characters; the scope and the value may contain letters, digits, underscore and hyphen.

Match pattern:^(?=.{3,96}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$

>= 3 characters<= 96 characters

Example:hr_system:emp-1042

Response

application/json

Successfully updated the external user.

 
application/json

Deactivate an external user

Deactivates an existing user identified by their external system ID. The user record is not deleted; it is marked as inactive and will no longer have access to the REVEAL system. This is a soft-delete operation.

put
https://api.us.vzconnect.com/cmd/v1/users/external/{externalId}/deactivate

Path Parameters

externalIdstringrequired

The unique identifier for the user in the external system to deactivate.

Example:hr_system:emp-1042

Body

application/json

Required request body. Set Deactivate to true to deactivate the user. If Deactivate is false the request makes no change and still returns 204.

DeactivateInput

The request body used to flag a user as deactivated.

Deactivatebooleanrequired

Set to true to flag the user as deactivated within the REVEAL account.

Example:true

Response

application/json

Successfully deactivated the external user.

 
application/json

Get a specific user

Retrieves a specific user by Employee ID. Only ACTIVE users within a REVEAL account are returned; no deactivated or deleted users are returned in the query.

get
https://api.us.vzconnect.com/cmd/v1/users/{employeeId}

Path Parameters

employeeIdintegerrequired

Employee ID is the unique identifier for the user within REVEAL. Must be an integer.

Example:982736342

Response

application/json

Successfully retrieved the user details.

UserRecord

A wrapper object containing a user and supplemental hypermedia links.

userobject

A REVEAL user record.

Show Child Parameters
_linksobject | null

The links provided enable the integration user to gather additional meta data for a User record. The groups link provides details on which groups the User record belongs to within the REVEAL account.

Show Child Parameters
 
application/json

Update a user

Edits an existing user record within the REVEAL account. PUT methods do not return an object review; the response is limited to a set of standard HTTP codes.

put
https://api.us.vzconnect.com/cmd/v1/users/{employeeId}

Path Parameters

employeeIdintegerrequired

Employee ID is the unique identifier for the user within REVEAL. Must be an integer.

Example:777099

Body

application/json

The updated user details to apply. May include name, email, role, or other profile fields.

UserInput

The request body fields provided when creating (POST) or editing (PUT) a user record.

FirstNamestringrequired

The first name of the user.

Example:Lonny

LastNamestringrequired

The last name of the user.

Example:Arking

EmailAddressstringrequired

The email address for the user. The email address is also the REVEAL username login and is mandatory when creating a user record.

Example:user@example.com

EmployeeIdintegerrequired

Employee ID is the unique identifier for the user within REVEAL. Not a mandatory field within the REVEAL account, but required for the API.

Example:777099

MobileNumberstring | null

The phone number for the user.

Example:null

IsAdministratorboolean

Boolean field for true or false. Default is false. True indicates that the user is an Administrator for the referenced REVEAL account.

Default:false

Example:true

IsRegionalAdministratorboolean

Boolean field for true or false. Default is false. Can only be set to true if the corresponding REVEAL account is enabled with Regional Administration permission.

Default:false

Example:false

Rolestring | null

The name of the role applied to the user. Required when creating a user: it must match the name of an existing role in the REVEAL account, including for Administrators and Regional Administrators.

Example:Demo

TimeZonestring | null

The time zone selection for the user. Follows ISO time zone abbreviations. If NULL, defaults to the Account Preferences selection.

Example:null

Regionstring | null

The Region selection for the user. Follows ISO alpha 3 country codes.

Example:null

Languagestring | null

The Language selection for the user. Follows IETF language tags.

Example:null

IsDriverboolean

Boolean field for true or false. Default is false. If the user should also be a Driver, a unique Driver Number must also be provided.

Default:false

Example:false

DriverNumberstring | null

The Driver Number is the unique identifier used to reference the driver within the API. Required for the API when the user is a Driver.

Example:null

Response

application/json

Successfully updated the user.

 
application/json