Skip to main content

Get profile information for a user

GET/users/{userId}/
v2
GET
user-get-user

Request

  • userIdstring
    required

    self or the id of a user.

Responses

application/json

The user profile.

  • avatarRefstring (uuid)
  • customerMembershipsobject
    • *object
      • expiresAtstring (date-time)
      • memberSincestring (date-time)
        required
      • rolestring (one of: owner, member, accountant)
        required
  • emailstring (email)
  • employeeInformationobject

    Additional information about mittwald employees.

    • departmentstring
      required
  • isEmployeeboolean

    Truth value, whether the user is a mittwald employee

  • mfaobject
    • activeboolean
      required
    • setupboolean
      required
  • passwordUpdatedAtstring (date-time)
  • personobject
    required

    The users personal information, e.g. first name.

    • firstNamestring
      required

      The users first name

    • lastNamestring
      required

      The users last name

    • titlestring (one of: mr, ms, other)
  • phoneNumberstring
  • projectMembershipsobject
    • *object
      • expiresAtstring (date-time)
      • inheritedboolean
        required
      • memberSincestring (date-time)
        required
      • rolestring (one of: owner, emailadmin, external)
        required
  • registeredAtstring (date-time)
  • userIdstring (uuid)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/users/string