Skip to main content
GET
Get partner user

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

partnerId
string
required

String, required. The ID of the partner (32-character hex string), as returned in the id field of the partner endpoints. Lookup by externalSourceId is not supported for partners.

UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$
userId
string
required

String, required. The user's internal ID (32-character hex string) or its externalSourceId (supports externalId). When a user's internal ID and another user's externalSourceId are the same value, the internal ID takes precedence.

Example:

"8a66aa549e6a3672019e73b79f8e1a7f"

Response

OK

A user of a partner. Unlike an organization user it is not employed by the partner, so id and externalSourceId are the person's own. A person is a user of the partner when it is an administrator of the partner, an accounting consultant of one of the partner's organizations, or an administrator of one of the partner's organizations without being employed there. Api keys are never returned as users. Every property is always present; properties without a value are null.

id
string
required

UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$
externalSourceId
string | null
required

String. The user's id in an external system, unique within the client application. Null when not set.

firstName
string
required

String. The first name of the user.

lastName
string
required

String. The last name of the user.

email
string<email>
required

String. The email address of the user.

mobilePhone
string | null
required

String. The mobile phone number of the user. Null when not set.

language
string | null
required

String. The user's language as a language variant, e.g. sv_SE or en_GB. Null when not set.

lastInvitationDate
string<date-time> | null
required

String, ISO-8601 date-time in UTC. When the user was last invited. Null when never invited.

invite
boolean
required

Boolean. True when the user's account is pending activation, whether or not an invitation was sent; see lastInvitationDate for when the user was last invited.

isPartnerAdministrator
boolean
required

Boolean. True when the user is an administrator of the partner.

supportRole
boolean
required

Boolean. True when the user is an administrator of the partner and has the partner support role; always false when isPartnerAdministrator is false.

dateCreated
string<date-time>
required

String, ISO-8601 date-time in UTC. When the user was created.

administratorOrganizations
object[]
required

Array. The partner's organizations the user is an administrator of, ordered by name. Empty when none.

consultantOrganizations
object[]
required

Array. The partner's organizations the user is an accounting consultant of, ordered by name. Empty when none.

employeeOrganizations
object[]
required

Array. The partner's organizations the user is employed in, ordered by name. Empty when none. Employment alone doesn't make a person a partner user; the list shows it for users who are also linked in one of the ways above.