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

# Update my reply alias

> Change the reply alias for the user associated with your API credential.

Updates the user associated with the API credential, not an arbitrary teammate. For a workspace API key, this is its associated creator identity. If that identity is absent, the request fails; you cannot supply a target user ID.

Only `alias` is editable through this endpoint. It is trimmed and limited to 100 characters. Send null or a blank string to clear it. A body with no supported fields is rejected. This changes the user's saved reply alias immediately.

## Headers

**Authorization** `string` *required*

Bearer token containing your Fini workspace API key. Format: `Bearer fini_...` The key needs `write` scope.

## Body

**alias** `string | null` *required*

Reply alias, up to 100 characters after trimming. Null clears the alias.

## Response

**id** `string`

Updated user ID.

**alias** `string | null`

Trimmed reply alias, or null after clearing.

**fullName** `string`

User's full name; unchanged by this endpoint.

**email** `string`

User's account email; unchanged by this endpoint.

```bash cURL theme={null}
curl --request PATCH \
  --url 'https://api-prod.usefini.com/v2/users/me/public' \
  --header 'Authorization: Bearer fini_your_api_key' \
  --header 'Content-Type: application/json' \
  --data '{"alias":"Support team"}'
```

```javascript Node.js theme={null}
const response = await fetch('https://api-prod.usefini.com/v2/users/me/public', {
  method: 'PATCH',
  headers: { Authorization: 'Bearer fini_your_api_key', 'Content-Type': 'application/json' },
  body: JSON.stringify({"alias":"Support team"})
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const data = await response.json();
```

```python Python theme={null}
import requests

response = requests.patch(
    "https://api-prod.usefini.com/v2/users/me/public",
    headers={"Authorization": "Bearer fini_your_api_key"},
    json={"alias":"Support team"},
)
response.raise_for_status()
data = response.json()
```

```json 200 OK theme={null}
{
  "id": "22222222-2222-4222-8222-222222222222",
  "email": "agent@example.com",
  "isOnboarded": true,
  "avatarUrl": "https://example.com/avatar.png",
  "fullName": "Example Agent",
  "alias": "Support team"
}
```

## Errors

400 for an absent associated user, an empty update, a non-string/non-null alias, or an alias longer than 100 characters.

All requests can return 401 for an invalid or revoked key, or 403 when the required scope is missing.


## Related topics

- [Overview](https://docs.usefini.com/en/api-reference/profile.md)
- [API overview](https://docs.usefini.com/en/api-reference/overview.md)
- [Inbox](https://docs.usefini.com/en/testing/inbox.md)


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