Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ephraimduncan/minimal.so/llms.txt

Use this file to discover all available pages before exploring further.

Endpoint

profile.get
Retrieves the profile information for the currently authenticated user.

Authentication

Requires authentication via session cookie.

Request

No input parameters required.

Response

Returns the user’s profile data.
image
string | null
Profile image URL
username
string | null
User’s username (lowercase, unique)
bio
string | null
User’s bio (max 160 characters)
github
string | null
GitHub username (max 39 characters)
twitter
string | null
Twitter/X handle (max 15 characters)
website
string | null
Personal website URL
isProfilePublic
boolean
Whether the profile is publicly visible

Example

import { client } from '@/lib/client';

const profile = await client.profile.get();

console.log(profile);
// {
//   image: "https://example.com/avatar.jpg",
//   username: "johndoe",
//   bio: "Software developer and bookmark enthusiast",
//   github: "johndoe",
//   twitter: "johndoe",
//   website: "https://johndoe.com",
//   isProfilePublic: true
// }

Source

  • Implementation: server/procedures/profile.ts:7
  • Router: server/router.ts:45

Build docs developers (and LLMs) love