Get current user

GET {{baseUrl}}/api/user/current?expand=<string>&expand=<string>

Returns the currently logged-in user. This includes information about the user, like the display name, userKey, account ID, profile picture, and more.

Permissions required: Permission to access the Confluence site ('Can use' global permission).

Request Params

KeyDatatypeRequiredDescription
expandstringA multi-value parameter indicating which properties of the user to
expand.
  • operations returns the operations that the user is allowed to do.

  • details.personal returns the 'Personal' details in the user's profile, like the 'Email' and 'Phone'. Note that these fields have been deprecated due to privacy changes. See the migration guide for details.

  • details.business returns the 'Company' details in the user's profile, like the 'Position' and 'Department'. Note that these fields have been deprecated due to privacy changes. See the migration guide for details.

  • personalSpace returns the user's personal space, if it exists. | | expand | string | | A multi-value parameter indicating which properties of the user to expand.

  • operations returns the operations that the user is allowed to do.

  • details.personal returns the 'Personal' details in the user's profile, like the 'Email' and 'Phone'. Note that these fields have been deprecated due to privacy changes. See the migration guide for details.

  • details.business returns the 'Company' details in the user's profile, like the 'Position' and 'Department'. Note that these fields have been deprecated due to privacy changes. See the migration guide for details.

  • personalSpace returns the user's personal space, if it exists. |

RESPONSES

status: OK

{&quot;type&quot;:&quot;unknown&quot;,&quot;accountId&quot;:&quot;sit consectetur&quot;,&quot;accountType&quot;:&quot;atlassian&quot;,&quot;email&quot;:&quot;do&quot;,&quot;publicName&quot;:&quot;et nostrud mollit id&quot;,&quot;profilePicture&quot;:{&quot;path&quot;:&quot;eiusmod Excepteur&quot;,&quot;width&quot;:61811707,&quot;height&quot;:-27758421,&quot;isDefault&quot;:true},&quot;displayName&quot;:&quot;eiusmod pariatur aliqua cupidatat&quot;,&quot;_expandable&quot;:{&quot;operations&quot;:&quot;officia nu&quot;,&quot;details&quot;:&quot;exercitation ipsum elit tempor laborum&quot;,&quot;personalSpace&quot;:&quot;exercitation re&quot;},&quot;_links&quot;:{},&quot;username&quot;:&quot;sed velit Ut&quot;,&quot;userKey&quot;:&quot;labore anim&quot;,&quot;operations&quot;:[{&quot;operation&quot;:&quot;use&quot;,&quot;targetType&quot;:&quot;application&quot;},{&quot;operation&quot;:&quot;restore&quot;,&quot;targetType&quot;:&quot;space&quot;}],&quot;details&quot;:{&quot;business&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;personal&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;personalSpace&quot;:{&quot;id&quot;:-69293677,&quot;key&quot;:&quot;minim&quot;,&quot;name&quot;:&quot;adipisicing minim nulla nisi consequat&quot;,&quot;type&quot;:&quot;reprehenderit&quot;,&quot;status&quot;:&quot;amet officia pariatur sed&quot;,&quot;_expandable&quot;:{&quot;settings&quot;:&quot;deserunt dolore velit laborum&quot;,&quot;metadata&quot;:&quot;ullamco quis non sunt&quot;,&quot;operations&quot;:&quot;qui aliquip&quot;,&quot;lookAndFeel&quot;:&quot;eiusmod cillum ex&quot;,&quot;permissions&quot;:&quot;in ullamco&quot;,&quot;icon&quot;:&quot;veniam quis&quot;,&quot;description&quot;:&quot;officia adip&quot;,&quot;theme&quot;:&quot;ea nisi&quot;,&quot;history&quot;:&quot;aliquip est irure&quot;,&quot;homepage&quot;:&quot;aliqua est deserunt&quot;},&quot;_links&quot;:{},&quot;icon&quot;:{&quot;path&quot;:&quot;adipisicing sed officia&quot;,&quot;width&quot;:33631448,&quot;height&quot;:-10767970,&quot;isDefault&quot;:true},&quot;description&quot;:{&quot;plain&quot;:{&quot;value&quot;:&quot;cupidatat nulla&quot;,&quot;representation&quot;:&quot;view&quot;,&quot;embeddedContent&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;view&quot;:{&quot;value&quot;:&quot;magna aliquip ea&quot;,&quot;representation&quot;:&quot;plain&quot;,&quot;embeddedContent&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]}},&quot;homepage&quot;:{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Content detected\u003e&quot;},&quot;metadata&quot;:{&quot;labels&quot;:{&quot;results&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;start&quot;:58105433,&quot;limit&quot;:10735114,&quot;size&quot;:-29792214,&quot;_links&quot;:{}}},&quot;operations&quot;:[{&quot;operation&quot;:&quot;delete&quot;,&quot;targetType&quot;:&quot;blogpost&quot;},{&quot;operation&quot;:&quot;restore&quot;,&quot;targetType&quot;:&quot;blogpost&quot;}],&quot;permissions&quot;:[{&quot;subjects&quot;:{&quot;_expandable&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;user&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;group&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;operation&quot;:{&quot;operation&quot;:&quot;create&quot;,&quot;targetType&quot;:&quot;page&quot;},&quot;anonymousAccess&quot;:false,&quot;unlicensedAccess&quot;:false},{&quot;subjects&quot;:{&quot;_expandable&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;user&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;group&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;operation&quot;:{&quot;operation&quot;:&quot;restore&quot;,&quot;targetType&quot;:&quot;blogpost&quot;},&quot;anonymousAccess&quot;:false,&quot;unlicensedAccess&quot;:false}],&quot;settings&quot;:{&quot;routeOverrideEnabled&quot;:false,&quot;_links&quot;:{}},&quot;theme&quot;:{},&quot;lookAndFeel&quot;:{&quot;headings&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;},&quot;links&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;},&quot;menus&quot;:{&quot;hoverOrFocus&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;color&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;header&quot;:{&quot;backgroundColor&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;button&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;primaryNavigation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;secondaryNavigation&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;search&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;content&quot;:{&quot;screen&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;container&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;header&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;body&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;bordersAndDividers&quot;:{&quot;color&quot;:&quot;\u003cstring\u003e&quot;}},&quot;history&quot;:{&quot;createdDate&quot;:&quot;2014-12-12T23:08:45.947Z&quot;}}}