Skip to content
  • Auto
  • Light
  • Dark
Get Started

Retrieve

Retrieve
get/v1/me

Get profile information for the current user

Returns
idstring

The ID of this user

formatuuid
biostring

The user’s biography, if they have provided one

emailstring

Your email address

profileImageUrlstring

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

formaturi
tierenum
"free" OR "pro"

Your account tier

Hide ParametersShow Parameters
"free"
"pro"
urlstring

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

formaturi
usernamestring

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

curl https://api.val.town/v1/me
200 Example
{
  "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "bio": "bio",
  "email": "email",
  "links": {
    "self": "https://example.com"
  },
  "profileImageUrl": "https://example.com",
  "tier": "free",
  "url": "https://example.com",
  "username": "username"
}