users

Get basic information about a user

get/v1/users/{user_id}

Path parameters

user_idstring uuid required

User Id

Response

User object

idstring uuid required

The ID of this user

type'user' | 'org' required

Whether this is a user or an organization

biostring nullable required

The user’s biography, if they have provided one

usernamestring nullable required

The user’s handle that they chose for themselves. Does not include the @ symbol

profileImageUrlstring uri nullable required

URL that points to the user’s profile image, if one exists

urlstring uri required

URL of this user’s profile on Val Town’s website

Example response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "bio": "Hello world",
  "username": "tmcw",
  "url": "https://val.town/u/tmcw",
  "profileImageUrl": null
}

Changes

Changed in 2 of the 46 revisions of this API.11

    • the type response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • added the required property type to the response with the 200 status

      response-required-property-added