Skip to content
  • Auto
  • Light
  • Dark
Get Started

Retrieve

Retrieve
get/v1/users/{user_id}

Get basic information about a user

Path Parameters
user_idstring
formatuuid
Returns
idstringbiostringlinksobjectprofileImageUrlstringurlstringusernamestringUser
curl https://api.val.town/v1/users/$USER_ID
200 Example
{
  "id": "00000000-0000-0000-0000-000000000000",
  "bio": "Hello world",
  "links": {
    "self": "https://example.com"
  },
  "profileImageUrl": null,
  "url": "https://val.town/u/tmcw",
  "username": "tmcw"
}