GET/api/v1/workspaces/{workspace_id}

Get a workspace

A workspace's name, branding, settings and your role in it.

API token required120 per minute per IP
Code samples and Try it

Path parameters

#
  • workspace_idstringRequired

    The workspace's id, from the address of its settings page (markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
200 response: 16 fields (WorkspaceResponse)
  • idstring
  • namestring
  • owner_idstring
  • created_atstring (date-time)

    ISO 8601, for example 2026-11-30T12:00:00Z.

  • updated_atstring (date-time)

    ISO 8601, for example 2026-11-30T12:00:00Z.

  • brandingobject

    Every field optional — an unset workspace looks exactly like Markdrop.

    6 fields inside
    • site_namestring | null

      Up to 60 characters.

    • favicon_urlstring | null

      Up to 500 characters.

    • logo_urlstring | null

      Up to 500 characters.

    • accent_colorstring | null

      Matches ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$.

    • hide_markdrop_brandingboolean

      Default false.

    • logo_well"light" | "dark" | "checker" | null
  • settingsobject
    10 fields inside
    • viewer_chrome"full" | "minimal" | "none"

      Default "full".

    • require_auth_to_viewboolean

      Default false.

    • members_can_share_foldersboolean

      Default true.

    • default_access"link" | "workspace" | "private"

      Default "workspace".

    • ai_enabledboolean

      Default true.

    • auto_coversboolean

      Default true.

    • team_memoryboolean

      Default false.

    • timezonestring | null

      Up to 64 characters.

    • comments_enabledboolean

      Default true.

    • allow_resharingboolean

      Default true.

  • role"owner" | "admin" | "member" | "viewer"
  • primary_hoststring | null
  • domainsarray of object
    9 fields inside
    • hoststring
    • kindstring | null
    • statusstring

      Default "pending".

    • verifiedboolean
    • primaryboolean
    • liveboolean
    • txt_okboolean | null
    • routing_okboolean | null
    • failuresinteger

      Default 0.

  • default_accessstring

    Default "workspace".

  • privacystring

    Default "custom".

  • member_countinteger

    Default 0.

  • pending_invite_countinteger

    Default 0.

  • domain_countinteger

    Default 0.

  • access_syncobject | null

    A sign-in change (require_auth_to_view on or off) still applying to stored files, page images and cached pages: state (applying or done), pending and total items, and want (the setting being applied). The sign-in gate itself holds as soon as the change is saved. null when none was ever applied.

    4 fields inside
    • state"applying" | "done"
    • pendinginteger

      Default 0.

    • totalinteger

      Default 0.

    • wantboolean

      Default false.

Did this page help?