Account

Get the current account, user and workspaces

Who the token is and which workspace the request acts in. memberships lists every workspace the person can switch to; pass one's id or slug as X-Dotsy-Workspace on later requests to act in it.

get/api/v1/account/me

Request

  • Base URL: https://api.dotsy.ai
  • URL: https://api.dotsy.ai/api/v1/account/me
  • Auth: HTTP bearer

Headers

X-Dotsy-Workspacestring

Org id or slug to act as for this request (session/MCP user actors only — ignored for pga_ keys). Validated against the caller's own memberships (id match first, then slug); 403 if not a member. Takes precedence over session.activeOrganizationId and the auto-provisioned home-workspace fallback.

Response

The current account.

isPlatformAdminboolean required
isConsoleAdminboolean required

True when the signed-in person may use the Dotsy admin console. Always false for a pga_ key or an OAuth token.

servingOriginTemplatestring nullable required

Where published sites are served, with {slug} as the placeholder.

Example response

{
  "servingOriginTemplate": "https://{slug}.dotsy.site"
}

Changes

No recorded changes to this operation across all 1 revision of this API.