Get a single User
| ⚠️ This endpoint is currently in BETA |
|---|
Returns information about a single internal User, including name, primary email address, all email addresses, photo URL, account status, and account role.
The emailAddresses and role properties are only returned to callers with the “Manage
Users” permission.
Documentation Index
Fetch the complete documentation index at: https://developer.affinity.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
User ID
1 <= x <= 2147483647Response
OK
An internal user in your organization, including their name, primary email address, all email addresses, photo URL, account status, and account role.
The user's unique identifier
1 <= x <= 21474836471
The user's first name
"Jane"
The user's last name
"Doe"
The user's primary email address
"jane.doe@acme.co"
URL of the user's profile photo
"https://assets.affinity.co/img/avatars/jane-doe.png"
The user's account status.
active: the user can sign in and use Affinity.invited: the user has been invited to the product but has not yet accepted the invitation and thus cannot have taken any actions.deactivated: the user was once active but has been deactivated and can no longer use the product.
active, invited, deactivated "active"
All of the user's email addresses. Only returned when the authenticated user has the "Manage Users" permission.
100["jane.doe@acme.co", "janedoe@gmail.com"]
The user's account role. Only returned when the authenticated user has the "Manage Users" permission.
"standard"