# Profiles & Social Graph Profile data, the follow graph, the leaderboard, and avatar generation. Find users with [Search & Lookups](/docs/lookups.html); follows generate entries in [Notifications](/docs/notifications.html). Every endpoint follows the shared [Conventions & Errors](/docs/conventions.html) (auth, content negotiation, pagination, status codes); see [Authentication](/docs/authentication.html) for the four ways to sign requests.
GET /profile/{username} Minimal role: Public

View a profile

Render a user profile. Returns an HTML page.

POST /profile/update Minimal role: Member

Update your profile

Update your own bio and links.

POST /profile/regenerate-api-key Minimal role: Member

Regenerate your API key

Issue a new API key and invalidate the current one.

POST /profile/{username}/customization/global Minimal role: Member

Toggle site-wide customizations

Show or suppress your site-wide custom CSS and JS without deleting it. Admins may target any user.

POST /profile/{username}/customization/pagetype Minimal role: Member

Toggle per-page customizations

Show or suppress your per-page custom CSS and JS without deleting it. Admins may target any user.

POST /profile/{username}/notifications Minimal role: Member

Toggle a notification preference

Enable or disable one notification type on one channel (in-app or push). Admins may target any user. Types: comment, reply, mention, vote, follow, message, badge, level, bug.

POST /profile/{username}/notifications/reset Minimal role: Member

Reset notification preferences

Clear all of a user's notification overrides so every type falls back to the platform default. Admins may target any user.

POST /media/{uid}/delete Minimal role: Member

Delete media

Remove one of your uploaded media attachments. It disappears from your profile Media tab and from any post, project, gist, or other place it was attached. You can delete media you uploaded; administrators may remove any user's media.

POST /follow/{username} Minimal role: Member

Follow a user

Follow another user. Idempotent.

POST /follow/unfollow/{username} Minimal role: Member

Unfollow a user

Stop following a user.

GET /profile/{username}/followers Minimal role: Public

List followers

List the users who follow a profile, 25 per page. Returns JSON.

GET /profile/{username}/following Minimal role: Public

List following

List the users a profile follows, 25 per page. Returns JSON.

GET /leaderboard Minimal role: Public

View the leaderboard

Top contributors by stars. Returns an HTML page.

GET /avatar/{style}/{seed} Minimal role: Public

Generate an avatar

Deterministic SVG avatar for a seed. Returns an image.