Skip to main content

Get a Folder

Description

Retrieve a single folder.

Request

HTTP Method: GET

ParameterDescription
idThe ID of the folder to retrieve.
curl -X GET \
https://<tenant-domain>/api/v1/folders/<folder-id> \
-H 'content-type: application/json' \
-H 'x-user-email: <email-address' \
-H 'x-user-token: <api-token>'

Response

A successful request will return a JSON object representing the specified folder.

Field description

ParameterDescription
idThe folder ID.
nameThe folder name.
team_idID of team to which the folder belongs.
content_typeThe type of content stored in this folder
sizeThe number of items in this folder

Sample response

{
"id": 1,
"name": "Folder name",
"content_type": "CREDENTIAL",
"team_id": 1,
"size": 0
}