Users
Get a user
GET
/api/users/{userId}Returns details for the specified user account when the caller has permission to view it.
Headers
| Name | Type | Description |
|---|---|---|
| Authorizationrequired | string | Authentication credentials, e.g. Bearer <token>. |
Path parameters
| Name | Type | Description |
|---|---|---|
| userIdrequired | string | ID of the associated user. |
Responses
200The operation completed successfully.
| Name | Type | Description |
|---|---|---|
| _countrequired | object | |
| apiKeysrequired | object[] | API keys associated with the user. |
| boardsrequired | object[] | Boards associated with the user. |
| createdAtrequired | string | Date and time the record was created. |
| createdByrequired | object[] | ID of the user who created the resource. |
| idrequired | string | Unique identifier of the resource. |
| linksrequired | object[] | Tracked links associated with the user. |
| passwordrequired | string | Password used to authenticate the account. |
| pixelsrequired | object[] | Tracking pixels associated with the user. |
| reportsrequired | object[] | Saved reports associated with the user. |
| rolerequired | string | Permission role assigned to the user. |
| teamsrequired | object[] | Teams associated with the user. |
| twoFactorAuthrequired | object | |
| twoFactorBackupCodesrequired | object[] | |
| twoFactorOtpUsedsrequired | object[] | |
| twoFactorRateLimitrequired | object | |
| twoFactorRequiredrequired | boolean | Whether two-factor authentication is required. |
| usernamerequired | string | Username of the account. |
| websitesrequired | object[] | |
200 example
401Unauthorized.
| Name | Type | Description |
|---|---|---|
| errorrequired | object | Error details returned when the operation fails. |
401 example
Code samples
cURL