> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nodeloc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Display titles

> Render profile and post author titles, avoid duplicate tier badges, and let members choose the title beside their name.

As of November 30, 2026, apps can tell when a member has chosen their tier as their display title. Use the title returned for each profile, member card, or post author.

## Render a profile or post

| Where the title appears | Text | Style | Source |
| - | - | - | - |
| The `user` object in `GET /api/v1/me` or `GET /api/v1/users/{username}` | `title` | `title_style` | `title_source` |
| Post objects in topic details, threaded replies, and sorted replies, including the opening post | `author_title` | `author_title_style` | `author_title_source` |

A profile's `title` now gives the title the member currently displays. Both source fields accept `personal`, `group`, `node`, `tier`, and `achievement`. When there is no display title, its text, style, and source are all `null`.

**Show a tier once.** Omit the title only when the source is `tier` and a separate tier badge is already visible beside the name. If a member hides their level and reputation, the public profile can omit `trust_level` and `tier_name`. In that case, still render their chosen title. Use the source field for this decision because unrelated titles can have the same localized text.

## Colors and effects

`title_style`, `author_title_style`, and the picker’s `style` share the same shape. For example:

```json theme={null}
{"color":"#00573b","bg":"#e6f4ee","effect":"gold"}
```

`color` sets the text color and the new `bg` field sets the background. Both use six-digit hexadecimal colors. Each field is optional, and the entire style can be `null`. Use the app’s default palette when the style is absent. If only `bg` is supplied, choose black or white text for contrast.

Update the old effect name `gold-flow` to `gold`. The current names are `shimmer`, `gold`, `silver`, `rainbow`, `aurora`, `fire`, and `ocean`. Render a static title for unsupported effects or when the user requests reduced motion.

## List my titles

Call `GET /api/v1/me/titles` with the member’s [account session](https://docs.nodeloc.com/en/api-reference/v1/accounts.md). A `200` response lists all available titles in one page. This example shows a member whose tier is their only available title and who selected it explicitly.

```json theme={null}
{
  "titles": [
    {
      "key": "tier",
      "kind": "tier",
      "text": "Diamond",
      "style": {"color": "#1e4e9a", "bg": "#dcebff"},
      "source": "Tier",
      "note": "Follows your current tier",
      "source_label": "Tier · Follows your current tier",
      "shown": true
    }
  ],
  "count": 1,
  "pick": "tier",
  "shown": "tier"
}
```

`count` is the number of available titles. `pick` holds the saved preference. The top-level `shown` is the active title’s `key`, or `null`. Each list item has a boolean `shown` for marking the active row. Display `text` and `source_label`, use `kind` for the source type, and submit `key` when the member makes a selection.

## Set the display title

Send an authenticated `PUT /api/v1/me/title` request with a JSON body. Copy the `key` from a list item. To select the tier, for example, send:

```json theme={null}
{"key":"tier"}
```

* `{"key":"none"}` hides the title. The top-level `shown` becomes `null`.
* `{"key":"auto"}` restores the default. A personal title takes priority. Without one, posts and the picker can fall back to the currently displayed group’s title, while the profile’s `title` can be `null`.
* Success returns `200` with the same response shape as `GET /api/v1/me/titles`. Refresh the picker from that response. If the member later loses the selected title, the next list response reflects the fallback in `pick` and `shown`.
* Both endpoints return `401 unauthorized` without a session. An unavailable or expired choice returns `422 invalid` for `key`. Fetch the list again to show the available choices.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.