---
title: "Get application bootstrap state"
method: GET
path: "/app/bootstrap"
tags: ["Auth", "Workspaces"]
---

# Get application bootstrap state

`GET /app/bootstrap`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/app/bootstrap`
- Auth: one of:
  - none
  - HTTP bearer
  - API key in cookie `openpost_session`

Returns an anonymous state when no credential authorized for application bootstrap is present.

## Query parameters

- `preferred_workspace_id` string: Workspace to select when it is accessible to the current credential

## Response `200`

OK

- AppBootstrapOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `authenticated` boolean, required: Whether the request has a credential authorized for application bootstrap
  - `selected_workspace_id` string, nullable, required
  - `selected_workspace_settings` AppBootstrapWorkspaceSettings, nullable, required
    - `avatar_url` string, required
    - `color` string, required
    - `media_cleanup_days` 14, required: Deprecated compatibility value. Always 14; temporary-media cleanup cannot be configured.
    - `name` string, required
    - `random_delay_minutes` integer, required
    - `slot_end_hour` integer, required
    - `slot_interval_minutes` integer, required
    - `slot_start_hour` integer, required
    - `timezone` string, required
    - `week_start` integer, required
  - `user` AppBootstrapUserProfile, nullable, required
    - `avatar_url` string, required: Profile avatar URL
    - `composer_experience` 'specialized' | 'unified', required: Preferred composer experience
    - `created_at` string, date-time, required: Account creation time
    - `display_name` string, required: User display name
    - `email` string, required: User email address
    - `email_verified` boolean, required: Whether the account email address is verified
    - `has_password` boolean, required: Whether this account has a local password credential
    - `id` string, required: User ID
    - `is_admin` boolean, required: Whether this user can manage instance-level settings
    - `is_managed` boolean, required: Whether this account was provisioned by an organization identity provider
    - `legal_acceptance_required` boolean, required: Whether the current hosted policy still needs acceptance
    - `legal_accepted_at` string, date-time: When the current account policy was accepted
    - `managed_organization_name` string: Organization managing this account
    - `password_usable` boolean, required: Whether the local password can currently be used for sign-in and sensitive-action reauthentication
    - `privacy_version` string: Privacy version acknowledged by the user
    - `public_profile_enabled` boolean, required: Whether the public activity profile is visible
    - `public_profile_visible_fields` string[], nullable, required: Optional account fields visible while the public profile is enabled
    - `terms_version` string: Terms version accepted by the user
    - `username` string, required: Unique public username
  - `workspaces` WorkspaceResponse[], required
    - `avatar_url` string, required
    - `can_approve` boolean, required: Whether the current user can decide an assigned publication review
    - `can_connect` boolean, required: Whether the current user can connect or reconnect social accounts
    - `can_edit` boolean, required: Whether the current user can change workspace content
    - `client_reviews_enabled` boolean: Whether this deployment accepts new client review requests
    - `color` string, required
    - `created_at` string, required
    - `id` string, required
    - `name` string, required
    - `organization_id` string, required
    - `organization_name` string, required
    - `role` 'admin' | 'editor' | 'client' | 'viewer', required: Current user's workspace role
    - `sso_authenticated` boolean, required: Whether the current credential satisfies organization SSO
    - `sso_identity_linked` boolean, required: Whether the required provider is explicitly linked to this user
    - `sso_provider_id` string: Identity provider required for this workspace
    - `sso_provider_name` string: Identity provider name required for this workspace
    - `sso_required` boolean, required: Whether this workspace requires organization SSO

## Other responses

- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
