Description

Retrieve a single folder.

Request

HTTP Method: GET

Parameter Description
id The ID of the folder to retrieve.
curl -X GET \
  https://<tenant-name>.tines.io/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

Parameter Description
id The folder ID.
name The folder name.
team_id ID of team to which the folder belongs.
content_type The type of content stored in this folder
size The number of items in this folder

Sample response

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