v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-031984301.2 MB
Folder

Get Folder

Retrieves a folder by identifier.

get/folders/{folderId}

Query parameters

fieldsstring

A comma separated list of fields to include in the response. Every value in the list should either consist of a top-level property name (excluding the items envelope for endpoints returning lists) or refer to a property of a top-level property of type object, in the following form: "toplevelpropertyname.subpropertyname". When this query parameter is omitted, default resource representations are returned (excluding fields marked as optional). The same applies to nested objects when just specifying the top-level property name, without explicitly listing sub-property names. When specifying the fields query parameter, only the specified fields are returned. The id property is always returned.

Headers

Authorizationstring required

The bearer access token provided by Auth0.

X-LC-Tenantstring required

The identifier of the account where the request is executed.

Response

idstring required

The folder identifier.

namestring
<div style="display:inline; float:right; color:#008080; margin-top:-23px; font-size:11px">default</div><div style="display: inline;">The name of the folder.</div>
hasParentboolean nullable

Indicates if the folder has a parent folder.

Example response

{
  "id": "1de8f71c357c4bb5a32626faf5f53ef1",
  "name": "consumer_A",
  "path": [
    {
      "id": "7fb808326daa4bb1988ckedcd0734aa6",
      "location": "0e6d1f1aa8df46e6b9b111ca9f388c9e",
      "name": "dexters_extensibility_consumer",
      "hasParent": true
    },
    {
      "id": "0e6d1f1aa8df46e6b9b111ca9f388c9e",
      "location": "61e801fa3d600fe2cfs12dd08",
      "name": "Customers",
      "hasParent": true
    },
    {
      "id": "61e801fa3d600fe2cfs12dd08",
      "name": "61e801fa3d600fe2cfs12dd08",
      "hasParent": false
    }
  ]
}