- General
- Endpoints
Retrieve Single User
GET
/user/{user_id}
Request
Path Params
user_id
string
required
Query Params
with
enum<string>
optional
Allowed values:
resourcetime_trackingsettingsboard_views
Example:
resource
show
string
optional
hide
string
optional
Header Params
x-api-key
string
required
Default:
{{api_key}}
x-api-env
string
required
Default:
{{api_env}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.vplan.com/v1/user/?show=&hide=' \
--header 'x-api-key;' \
--header 'x-api-env;'
Responses
🟢200Ok
application/json
Body
id
string <uuid>
read-onlyrequired
idp_id
string | null
read-onlyoptional
username
string <email>
optional
status
enum<string>
optional
Allowed values:
invitedactivearchived
invite_id
string | null
optional
resource_id
string <uuid> | null
optional
firstname
string
optional
lastname
string
optional
infix
string | null
optional
fullname
string
read-onlyoptional
gender
enum<string>
optional
Allowed values:
MFU
Default:
U
email
string <email>
optional
mobile
string | null
optional
avatar
string <uri> | null
optional
avatar_checksum
string | null
read-onlyoptional
avatar_signature
string | null
read-onlyoptional
about
string | null
optional
date_of_birth
string <date> | null
optional
role
enum<string>
required
Allowed values:
adminmanagerorganisermemberguest
card_visibility
enum<string>
optional
Allowed values:
alllinked
Default:
all
language
enum<string>
optional
Allowed values:
nldeesfritplpten
Default:
nl
timezone
string
deprecated
notify_own_changes
boolean
optional
mfa_enabled
boolean
optional
nps_counter
integer
read-onlyoptional
external_ref
string | null
read-onlyoptional
Example:
fb1033a2ed70
created_at
string <date-time>
read-onlyrequired
Example:
2024-04-11T10:22:15Z
updated_at
string <date-time>
read-onlyrequired
Example:
2024-04-11T10:22:15Z
archived_at
string <date-time> | null
read-onlyoptional
Example:
2021-07-06T11:24:35Z
Example
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"idp_id": "string",
"username": "user@example.com",
"status": "invited",
"invite_id": "string",
"resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
"firstname": "string",
"lastname": "string",
"infix": "string",
"fullname": "string",
"gender": "U",
"email": "user@example.com",
"mobile": "string",
"avatar": "http://example.com",
"avatar_checksum": "string",
"avatar_signature": "string",
"about": "string",
"date_of_birth": "2019-08-24",
"role": "admin",
"card_visibility": "all",
"language": "nl",
"timezone": "string",
"notify_own_changes": true,
"mfa_enabled": true,
"nps_counter": 0,
"external_ref": "fb1033a2ed70",
"created_at": "2024-04-11T10:22:15Z",
"updated_at": "2024-04-11T10:22:15Z",
"archived_at": "2021-07-06T11:24:35Z"
}
🟠404Not Found
🟠401Not Logged In
Modified at 2024-10-04 09:04:55