/api/v1/user and require an active authenticated session (cookie-based).
All Users API endpoints require an active authenticated session. Requests without a valid session cookie receive a
401 Unauthorized response.GET /api/v1/user/profile
Returns the full profile of the currently authenticated user. Example requestUnique identifier for your account.
Your current display name, or
null if not yet set.The email address associated with your account.
URL of your avatar image, or
null if no avatar has been uploaded.true if you have a password set on your account. Accounts created via OAuth start with false.true if your account is linked to an OAuth provider (e.g. Google).The name of the linked OAuth provider (e.g.
"google"), or null if no OAuth account is linked.ISO 8601 datetime at which your account was created.
POST /api/v1/user/profile
Updates your display name and/or avatar image in a single request. Because this endpoint accepts a file upload, the request must usemultipart/form-data encoding.
New display name. This field is required; send the current name to leave it unchanged.
New avatar image file (JPEG or PNG). After upload, the processed image is stored and the resulting URL is returned in the
image field of subsequent profile responses.Your uploaded avatar is stored on Flowtask’s CDN and returned as a URL in the
image field. You do not need to host the image yourself. Maximum file size is 5 MB.PUT /api/v1/user/name
Updates your display name without affecting any other profile fields.The new display name to set for your account.
PUT /api/v1/user/password
Sets a new password or changes your existing one. If your account already has a password (isPasswordSet: true), you must supply currentPassword to authenticate the change. You must also confirm the new password by repeating it in confirmNewPassword.
Your current password. Required when
isPasswordSet is true on your account.The password you want to set. We recommend at least 12 characters.
Must match
newPassword exactly. The request fails if the two values differ.If your account was created via OAuth and
isPasswordSet is false, you can omit currentPassword when setting a password for the first time.GET /api/v1/user/user-preferences
Returns the notification and reminder preferences for your account. Example requestWhether email notifications are enabled for your account.
How many minutes before a task’s due time Flowtask sends a reminder.
Whether per-task reminder notifications are active.
When
true, Flowtask automatically schedules reminders for newly created tasks.Whether you receive a daily summary email of upcoming tasks.
The local time at which your daily digest is sent (e.g.
"08:00"), or null if not configured.PUT /api/v1/user/user-preferences
Updates one or more of your notification and reminder preferences. Send only the fields you want to change — unspecified fields keep their current values. At least one field must be provided.Set to
true to enable email notifications, or false to disable them.Number of minutes before a task is due to send a reminder. Common values:
15, 30, 60.Enable or disable per-task reminder notifications.
Enable or disable the daily summary email.