Profile
Read and update the currently-authenticated user's profile, including display name, email, timezone, and notification preferences.
Preferences schema
Returns UI and account/environment preferences for the currently-authenticated user.
Examples include:
date/time display formatting (
dateFormat,timeFormat)current environment selection (
environment)UI layout preferences (dashboard/pagination/drawer settings)
Preferences object
Writable preference fields shared by the request and response schemas.
The selected environment context for the user.
The selected account context for the user.
ownDefault environment id to use when applicable.
60a2c4e6f321d800129a1a3cThe user's preferred date display format used across the UI.
Choose one of the supported formats.
The user's preferred time display format used across the UI.
Whether timestamps should be displayed as relative time (e.g., "5 minutes ago") instead of absolute date/time.
UI theme preference.
Threshold timestamp used by scheduling logic for certain flows (UI/system preference).
2024-06-13T11:39:15.778ZRecently accessed resources, typically keyed by environment.
Per-resource pagination settings (e.g., pageSize).
When true, the main UI drawer/left nav is open.
UI section name last expanded/opened (UI state).
resourcesFlow Builder bottom drawer height in pixels (UI state).
240When true, AI chat features are enabled in the UI for this user.
When true, the beginner guide UI is enabled for this user.
When true, Flow Builder icon view is enabled for this user.
When true, Postman collection upload UI is enabled for this user.
UI help content preferences/state.
When true, the sample-integration walkthrough is still required for the user.
When true, the Getting Started banner is hidden.
When true, the left navigation sidebar is expanded.
When true, the next-generation Flow Builder UI is enabled for the user.
When true, the account uses ClickHouse-backed job queries.
UI/feature flag overrides for the user (if present).
Last login timestamp recorded for the user (if present).
2026-05-14T18:22:10.000ZLegacy feature-rollout date marker (UI state).
2025-09-01Legacy feature-rollout date marker (UI state).
2025-11-15Previous default account-share ID, retained after switching accounts.
ownPer-account UI state keyed by account ID.
Unauthorized. The request lacks a valid bearer token, or the provided token failed to authenticate.
Note: the 401 response is produced by the auth middleware before the
request reaches the endpoint handler, so it does not follow the
standard {errors: [...]} envelope. Instead the body is a bare
{message: string} object with no code, no errors array. Callers
handling 401s should key off the HTTP status and the message string,
not try to destructure an errors[].
GET /v1/preferences HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"environment": "production",
"defaultAShareId": "own",
"defaultEnvId": "60a2c4e6f321d800129a1a3c",
"dateFormat": "MM/DD/YYYY",
"timeFormat": "h:mm:ss A",
"colorTheme": "system",
"showRelativeDateTime": false,
"drawerOpened": true,
"enableAIChatbot": true,
"sampleIntegrationRequired": false,
"scheduleShiftForFlowsCreatedAfter": "2024-06-13T11:39:15.778Z",
"lastLoginAt": "2026-05-14T18:22:10.000Z",
"featureFlags": {
"enableLookupCache": true,
"enableSizeBasedAggregation": false
}
}Updates user preferences for the currently-authenticated user. Only include fields you intend to change.
Writable preference fields shared by the request and response schemas.
The selected environment context for the user.
The selected account context for the user.
ownDefault environment id to use when applicable.
60a2c4e6f321d800129a1a3cThe user's preferred date display format used across the UI.
Choose one of the supported formats.
The user's preferred time display format used across the UI.
Whether timestamps should be displayed as relative time (e.g., "5 minutes ago") instead of absolute date/time.
UI theme preference.
Threshold timestamp used by scheduling logic for certain flows (UI/system preference).
2024-06-13T11:39:15.778ZRecently accessed resources, typically keyed by environment.
Per-resource pagination settings (e.g., pageSize).
When true, the main UI drawer/left nav is open.
UI section name last expanded/opened (UI state).
resourcesFlow Builder bottom drawer height in pixels (UI state).
240When true, AI chat features are enabled in the UI for this user.
When true, the beginner guide UI is enabled for this user.
When true, Flow Builder icon view is enabled for this user.
When true, Postman collection upload UI is enabled for this user.
UI help content preferences/state.
When true, the sample-integration walkthrough is still required for the user.
When true, the Getting Started banner is hidden.
When true, the left navigation sidebar is expanded.
When true, the next-generation Flow Builder UI is enabled for the user.
When true, the account uses ClickHouse-backed job queries.
UI/feature flag overrides for the user (if present).
Updated preferences object
Writable preference fields shared by the request and response schemas.
The selected environment context for the user.
The selected account context for the user.
ownDefault environment id to use when applicable.
60a2c4e6f321d800129a1a3cThe user's preferred date display format used across the UI.
Choose one of the supported formats.
The user's preferred time display format used across the UI.
Whether timestamps should be displayed as relative time (e.g., "5 minutes ago") instead of absolute date/time.
UI theme preference.
Threshold timestamp used by scheduling logic for certain flows (UI/system preference).
2024-06-13T11:39:15.778ZRecently accessed resources, typically keyed by environment.
Per-resource pagination settings (e.g., pageSize).
When true, the main UI drawer/left nav is open.
UI section name last expanded/opened (UI state).
resourcesFlow Builder bottom drawer height in pixels (UI state).
240When true, AI chat features are enabled in the UI for this user.
When true, the beginner guide UI is enabled for this user.
When true, Flow Builder icon view is enabled for this user.
When true, Postman collection upload UI is enabled for this user.
UI help content preferences/state.
When true, the sample-integration walkthrough is still required for the user.
When true, the Getting Started banner is hidden.
When true, the left navigation sidebar is expanded.
When true, the next-generation Flow Builder UI is enabled for the user.
When true, the account uses ClickHouse-backed job queries.
UI/feature flag overrides for the user (if present).
Last login timestamp recorded for the user (if present).
2026-05-14T18:22:10.000ZLegacy feature-rollout date marker (UI state).
2025-09-01Legacy feature-rollout date marker (UI state).
2025-11-15Previous default account-share ID, retained after switching accounts.
ownPer-account UI state keyed by account ID.
Preferences updated (no body returned).
Bad request. The server could not understand the request because of malformed syntax or invalid parameters.
Unauthorized. The request lacks a valid bearer token, or the provided token failed to authenticate.
Note: the 401 response is produced by the auth middleware before the
request reaches the endpoint handler, so it does not follow the
standard {errors: [...]} envelope. Instead the body is a bare
{message: string} object with no code, no errors array. Callers
handling 401s should key off the HTTP status and the message string,
not try to destructure an errors[].
PUT /v1/preferences HTTP/1.1
Host: api.integrator.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"colorTheme": "dark"
}{
"environment": "production",
"defaultAShareId": "own",
"defaultEnvId": "60a2c4e6f321d800129a1a3c",
"dateFormat": "MM/DD/YYYY",
"timeFormat": "h:mm:ss A",
"colorTheme": "dark",
"showRelativeDateTime": false,
"drawerOpened": true,
"enableAIChatbot": true,
"sampleIntegrationRequired": false,
"scheduleShiftForFlowsCreatedAfter": "2024-06-13T11:39:15.778Z",
"lastLoginAt": "2026-05-14T18:22:10.000Z",
"featureFlags": {
"enableLookupCache": true,
"enableSizeBasedAggregation": false
}
}Last updated
Was this helpful?