Get a single user
Get a single user.
Authorizations
Headers
The tenant identifier for multi-tenant organisations. Required when the organisation has multi-tenancy enabled. The value should be your internal ID for the tenant. Ignored for single-tenant organisations.
Path Parameters
ID of the user to get.
Response
Found user
A user of your application.
The ID of the user in your database. Must be a string.
"user-id"
The user's email address.
"user@example.com"
The name of the user.
"John Doe"
The user's timezone.
"Europe/London"
Whether the user is opted into receiving Trophy-powered emails.
true
User attributes as key-value pairs. Keys must match existing user attributes set up in the Trophy dashboard.
Whether the user is in the control group, meaning they do not receive emails or other communications from Trophy.
false
The date and time the user was created, in ISO 8601 format.
"2021-01-01T00:00:00Z"
The date and time the user was last updated, in ISO 8601 format.
"2021-01-01T00:00:00Z"
The user's device tokens.
The device token.