Users

Get a user

GET/api/users/{userId}

Returns details for the specified user account when the caller has permission to view it.

Headers

NameTypeDescription
AuthorizationrequiredstringAuthentication credentials, e.g. Bearer <token>.

Path parameters

NameTypeDescription
userIdrequiredstringID of the associated user.

Responses

200The operation completed successfully.
NameTypeDescription
_countrequiredobject
apiKeysrequiredobject[]API keys associated with the user.
boardsrequiredobject[]Boards associated with the user.
createdAtrequiredstringDate and time the record was created.
createdByrequiredobject[]ID of the user who created the resource.
idrequiredstringUnique identifier of the resource.
linksrequiredobject[]Tracked links associated with the user.
passwordrequiredstringPassword used to authenticate the account.
pixelsrequiredobject[]Tracking pixels associated with the user.
reportsrequiredobject[]Saved reports associated with the user.
rolerequiredstringPermission role assigned to the user.
teamsrequiredobject[]Teams associated with the user.
twoFactorAuthrequiredobject
twoFactorBackupCodesrequiredobject[]
twoFactorOtpUsedsrequiredobject[]
twoFactorRateLimitrequiredobject
twoFactorRequiredrequiredbooleanWhether two-factor authentication is required.
usernamerequiredstringUsername of the account.
websitesrequiredobject[]
200 example
401Unauthorized.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
401 example

Code samples

cURL