Skip to content

Get Folder

GET {{base_url}}/v1/folders/{{token}}

This endpoint allows you to get the full details of a specific folder using its token.
The token is the internal identifier previously obtained when creating or listing folders.

Where {{token}} corresponds to the folder’s internal identifier.


To authorize access to the API, you must include the authentication token in the Authorization header using the Bearer scheme. Additionally, the Content-Type header must specify that the request body (if any) is sent in JSON format.

Headers requeridos

ParameterTypeDescriptionLimits
Authorization*stringAccess token obtained during login, with the 'Bearer' prefix.Required
Content-TypestringSpecifies the content type of the HTTP request body. For requests that include JSON data'application/json'

{
"external_id": "a4f2b1d7-93e0-4c9a-b715-2e91f845c8d3",
"token": "5c82a1f0-47b3-4e24-9e59-40f6d9f7e8a2",
"name": "Contrato Horizonte",
"description": "Acuerdo marco para la prestación de servicios de consultoría tecnológica",
"document_count": 4,
"signed_documents_count": 1,
"in_progress_documents_count": 2,
"not_started_documents_count": 1,
"created_at": "2024-09-15T10:43:22.000000Z",
"updated_at": "2024-10-01T18:12:09.000000Z",
"deleted": false,
"children": [],
"parent": null
}

The service response includes the following fields, which describe the status and attributes of the processed folder. This data allows you to identify the folder, its hierarchy, and the status of associated documents.

NombreTypeDescription
external_idstringIdentifier assigned by the client. Useful for integrators who manage their own IDs.
tokenstringInternal folder identifier (token), used for subsequent operations.
namestringFolder name.
descriptionstringFolder description.
document_countintegerTotal number of documents.
signed_documents_countintegerSigned documents.
in_progress_documents_countintegerDocuments in progress.
not_started_documents_countintegerDocuments not started.
created_atdatetimeCreation date (UTC ISO 8601).
updated_atdatetimeLast modification date (UTC ISO 8601).
deletedbooleanIndicates if the folder is logically deleted.
childrenarrayList of subfolders (if any).
parentobject/nullParent folder (null if root).

Code Description
401 Unauthorized (invalid or missing token).
404 Folder not found (invalid token).
500 Unexpected internal error.