Retrieve Account Folders

get

/rest/api/v1.3/folders

Retrieves all folders in your account.

Request

Query Parameters
  • Number of folders to return in the response (defaults to 200 and cannot exceed 200)
  • Starts at 0 and indicates the record number for the response result set
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Retrieve Folders
Type: object
Title: Retrieve Folders
Show Source
Nested Schema : folders
Type: array
Array of Folders in an Account
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Examples

Retrieve folders in your Responsys account.

FIELDS DESCRIPTION
Authorization <AUTH_TOKEN>

Sample Request:

Retrieve the first 2 folders within your account.

  /rest/api/v1.3/folders?limit=2&offset=1
	

Sample Response: Success

{
    "folders": [
        {
            "id": 14729180,
            "subType": "GENERIC",
            "name": "!!!!!!!!!!!!!DM630",
            "objSource": "0",
            "accountId": 1277,
            "status": "A",
            "createdBy": 105427,
            "modifiedBy": 105427,
            "createdDate": 1549275574000,
            "modifiedDate": 1549275574000,
            "objectType": "Folder",
            "new": false
        },
        {
            "id": 4729294,
            "subType": "GENERIC",
            "name": "!!!!!!!!!!!DssORMFolderExport",
            "objSource": "0",
            "accountId": 1277,
            "status": "A",
            "createdBy": 105427,
            "modifiedBy": 105427,
            "createdDate": 1540377035000,
            "modifiedDate": 1540377035000,
            "objectType": "Folder",
            "new": false
        }
    ],
    "links": [
        {
            "rel": "self",
            "href": "/rest/api/v1.3/folders?limit=2&offset=1",
            "method": "GET"
        },
        {
            "rel": "next",
            "href": "/rest/api/v1.3/folders?limit=2&offset=3",
            "method": "GET"
        },
        {
            "rel": "prev",
            "href": "/rest/api/v1.3/folders?limit=2&offset=0",
            "method": "GET"
        }
    ]
}
	

Example Response:Failure

{
  "type": "",
  "title": "Folder not found",
  "errorCode": "FOLDER_NOT_FOUND",
  "detail": "Folder [ folder_name ] not found.",
  "errorDetails": []
}
	
Back to Top