Documentation Index
Fetch the complete documentation index at: https://docs.linkutm.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
These endpoints act on the currently authenticated user. They live under/api/v1/users and require a JWT bearer token. They do not use the x-workspace-id header - they target the user account itself, not a workspace.
me path resolves to the token holder.
Get current user
Headers
| Header | Required | Notes |
|---|---|---|
Authorization: Bearer <jwt> | Yes |
Example request
Example response
This response is a fixed projection. The password hash and workspace memberships are never returned by this endpoint.
Update current user
Headers
| Header | Required | Notes |
|---|---|---|
Authorization: Bearer <jwt> | Yes | |
Content-Type: application/json | Yes |
Body
Display name.
Avatar URL. To upload an image file instead of setting a URL directly, use Upload avatar.
Marketing email subscription flag on the user record.
Free-text role label stored on the user account (for example a job title). This is a profile field on the user and is separate from workspace membership roles used for permissions.
Marks whether the user has finished the onboarding flow.
Example request
Example response
Returns the full updated user record.Upload avatar
multipart/form-data. The image is stored, and the user record’s avatar field is updated with the resulting URL.
Headers
| Header | Required | Notes |
|---|---|---|
Authorization: Bearer <jwt> | Yes | |
Content-Type: multipart/form-data | Yes |
Form fields
The image file. The form field name must be
file. Allowed types: PNG, JPEG, and WebP. Maximum size: 2 MB.Example request
Example response
Delete current user
Headers
| Header | Required | Notes |
|---|---|---|
Authorization: Bearer <jwt> | Yes |
Example request
Example response
Returns the deleted user record.Notification settings
Each user has one notification settings record. It controls which transactional and email notifications are sent to that user.Get notification settings
Update notification settings
Headers
| Header | Required | Notes |
|---|---|---|
Authorization: Bearer <jwt> | Yes | |
Content-Type: application/json | Yes |
Body
Notifications about custom domain status changes.
Monthly summary email.
Alert when a link reaches a click milestone.
Alert when a link is about to expire or has expired.
Alert when a link is deleted.
Alert when a member joins a workspace.
Alert when a member leaves a workspace.
Alert when a member’s workspace role changes.
Product update emails.
Tips and tutorials emails.
Critical alerts - workspace deletion, security alerts, and billing alerts - cannot be disabled. The service forces these to
true on every update, so sending false for them has no effect.Example request
Example response
Returns the full notification settings record.Errors
| Code | When |
|---|---|
400 | Avatar upload with no file, an unsupported file type, or a file over 2 MB |
401 | Missing or invalid JWT |
429 | Rate limit exceeded (100 requests/minute per IP) |