Loading...

GET /api/users/{userId}

If someone cannot find a vehicle after signing in to Plaspy, check their profile before changing its assignment. An administrator with access to Users can retrieve a sub-user by the usr-… ID shown in the account’s list.

The response shows whether the profile is disabled and, where applicable, its assigned device or group, privileges and access dates. Use those details to check whether the person has the device or group you expected.

Request Details

GET /api/users/{userId}

The example identifiers are fictional. Use the identifiers returned by your account’s list for the resource you want to look up or change.

Request Parameters

Path parameters

ParameterTypeRequiredDescription
userIdStringRequiredStringYesPublic identifier of the sub-user. Use the usr-… value returned by the user list.

Authentication Required

Send the access token in the Authorization: Bearer <token> header. See Authentication.

Requires an administrator with access to Users.

Example Request

GET /api/users/{userId} HTTP/1.1 Host: api.plaspy.com Authorization: Bearer {token}

Response Parameters

group can identify a group or one of the administrator options. deviceId identifies the tracker assigned to a user limited to one device. disabled reports whether the user is disabled. The response may include creation, modification and lastLogin. The password is omitted.

FieldTypePresenceDescription
idStringAlwaysStringAlwaysPublic sub-user ID with the usr- prefix.
nameStringAlwaysStringAlwaysSub-user display name.
emailStringAlwaysStringAlwaysSub-user login name.
countryStringAlwaysStringAlwaysCountry code saved in the profile.
timeZoneStringAlwaysStringAlwaysProfile time zone.
descriptionStringWhen setStringWhen setDescription of the sub-user.
messageStringWhen setStringWhen setMessage configured for the sub-user.
disabledBooleanAlwaysBooleanAlwaysIndicates whether the sub-user is disabled.
disabledMessageStringWhen setStringWhen setMessage configured for a disabled sub-user.
tagsString mapWhen setString mapWhen setTags associated with the profile.
privilegesString arrayWhen setString arrayWhen setNames of assigned privileges.
groupStringWhen setStringWhen setPublic ID of the group or special access profile.
deviceIdStringWhen setStringWhen setTracker ID assigned to a sub-user with access to one device.
adminDevicesIntegerWhen setIntegerWhen setDevice licenses allocated to an administrator who manages their own account.
fromDate-timeWhen setDate-timeWhen setStart of the configured access period.
expiresDate-timeWhen setDate-timeWhen setEnd of the configured access period.
creationDate-timeWhen setDate-timeWhen setProfile creation date and time, when available.
modificationDate-timeWhen setDate-timeWhen setMost recent profile modification date and time, when available.
lastLoginDate-timeWhen setDate-timeWhen setLast sign-in date and time, when available.
apiUsageIntegerAlwaysIntegerAlwaysUnits charged for this request.
apiDailyUsageIntegerAlwaysIntegerAlwaysDaily usage before the units for this request are added.

Example HTTP 200 response (excerpt)

{ "id": "usr-NpQrMWxYvK", "name": "Morgan Lee", "email": "dispatch@example.com", "country": "CO", "timeZone": "America/Bogota", "deviceId": "123456789012345", "disabled": false, "apiUsage": 1, "apiDailyUsage": 24 }

Errors

FieldTypePresenceDescription
successBooleanDepends on the errorBooleanDepends on the errorIn the operation errors shown here, the value is false.
errorStringDepends on the errorStringDepends on the errorMessage explaining why the request was rejected.
  • HTTP 401 if a valid Bearer token is missing.
  • HTTP 400 if the ID is recognized but the sub-user is outside the account or does not exist. HTTP 404 if the route or ID is unrecognized.
  • HTTP 403 if the user lacks the required permission. The reason appears in error.

Example error

{ "success": false, "error": "The user was not found." }
Index
Questions?

We answer all support request within 24 business hours approximately, If you have a question that needs an immediate resolution, please contact us by other way.

We answer you in business hours, as soon as possible. We are located in Bogotá, Colombia, time zone (GMT-5).

Last modification: 2026-11-30 11:00:21