Get Folder
GET
https://app.firmeasy.legal/api/v1/folders/{{token}}
Get Folder
Section titled “Get Folder”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.
Headers
Section titled “Headers”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
AuthorizationAccess token obtained during login, with the 'Bearer' prefix.
Limits:Required
Content-TypeSpecifies the content type of the HTTP request body. For requests that include JSON data
Limits:'application/json'
Response Example
Section titled “Response Example”{ "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}Returned Fields
Section titled “Returned Fields”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.
external_idIdentifier assigned by the client. Useful for integrators who manage their own IDs.
tokenInternal folder identifier (token), used for subsequent operations.
nameFolder name.
descriptionFolder description.
document_countTotal number of documents.
signed_documents_countSigned documents.
in_progress_documents_countDocuments in progress.
not_started_documents_countDocuments not started.
created_atCreation date (UTC ISO 8601).
updated_atLast modification date (UTC ISO 8601).
deletedIndicates if the folder is logically deleted.
childrenList of subfolders (if any).
parentParent folder (null if root).
Possible Errors
Section titled “Possible Errors”| Code | Description |
|---|---|
| 401 | Unauthorized (invalid or missing token). |
| 404 | Folder not found (invalid token). |
| 500 | Unexpected internal error. |
