getFolders

@GET(value = folders)
abstract suspend fun getFolders(@Query(value = localelocale: String? = null): Response<GetFoldersListResponseDto>

List the folders for a user This endpoint allows you to list the folders in the authenticating user&#39;s account. Responses:

  • 200: Success.

  • 401: Unauthorized. This will occur if you do not supply an access-token to this endpoint, or if you provide an expired or invalid access token.

Return

GetFoldersListResponseDto

Parameters

locale

Allows you to specify the locale in which the response should be returned. It must be a supported value from the list of locale-codes, which can be obtained by going to &#x60;/lookups/locales&#x60;. It defaults to the user&#39;s locale. (optional)