/document/:id

Get the document information as JSON

Request example:

GET {{host}}/document/:id
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6...

Response example

{
    "_id": "536855b2cd302e380374cc12",
    "file": {
        "name": "Dummy 1",
        "original": "gdscz.yrl.c/4561123569888213b2221aa2.74107552",
        "route": "gdscz.yrl.c/gdscz.yrl.c.pdf",
        "checksum": "gdhee7dc0c8130bdde8e946545f402cdf65eb5a3",
        "signed": "gdscz.yrl.c/signed_ehztf.yrl.c.pdf"
    },
    "file_num_pages": "1",
    "user": {
        "user_id": 1182,
        "username": "[email protected]",
        "email": "[email protected]",
        "name": "John",
        "surname": "Doe",
        "profile_img": "",
        "document": "",
        "phone_id": null,
        "address_id": null,
        "company_id": 253,
        "zone_id": null,
        "invitations": 5,
        "zone_name": null,
        "locale": "en",
        "parent_id": null,
        "is_admin": 1,
        "is_company_owner": false,
        "is_agent": 0,
        "validated": 1,
        "num_operations": 93,
        "operations_id": "gdscz",
        "is_service_account": null,
        "is_superadmin": 1,
        "company_active": 1,
        "company_invited": null,
        "company_rol": null,
        "custom_from_email": "[email protected]",
        "custom_from_name_email": "John Doe via Tecalis Signature",
        "email_alias": "[email protected]",
        "num_connections": 199,
        "identity_allow_iframe_mode": 0,
        "is_api_user": 1,
        "blocked": null,
        "role_manually_set": null,
        "hubspotutk": "undefined",
        "hubspot_last_sync": null,
        "last_login": "2025-08-01 09:49:31",
        "google_tokens": null,
        "contact_phone": null,
        "customization_id": null,
        "profile_img_url": "",
        "has_signature_password": true
    },
    "user_id": 1182,
    "status": 2,
    "operation_id": "gdscz.yrl.c",
    "short_id": "yrl",
    "operation_group": "561235507688213b21bb4b1.04350409",
    "free": 0,
    "sequential_send": false,
    "subject": "",
    "message": "",
    "expiration": "2025-08-08",
    "expired": false,
    "signature_type": "handwritten",
    "signature_color": "black",
    "api_key": "",
    "irregular": false,
    "hashtags": null,
    "no_header": null,
    "template_id": "",
    "multiplier": 1,
    "show_policy_check_1": 0,
    "show_policy_check_2": 0,
    "updated_at": "2025-07-24 11:08:38",
    "created_at": "2025-07-24 11:06:26",
    "version": {
        "uuid": "b53a5fdf-8914-4f2a-a5f7-a0d8ee0d5291",
        "num": 0,
        "active": true
    },
    "versions": [],
    "allow_delegation": false,
    "allow_validation": true,
    "chained_operations_id": null,
    "force_scroll": false,
    "kyc": null,
    "kyc_config": {
        "mode": "none",
        "with_selfie": true,
        "additional_documents": []
    },
    "observer": null,
    "reminder": {
        "periodicity": "d",
        "text": "REMINDERS.DAILY",
        "customizable": false,
        "value": null
    },
    "workflow_type": 0,
    "receivers": [
        {
            "name": "John",
            "surname": "Doe",
            "email": "[email protected]",
            "phone_prefix": "34",
            "phone": "",
            "scheduled_send": 0,
            "signatures": {
                "1": [
                    {
                        "checksum": "da2a05943245d64f8a6b108567ee529850fa5993",
                        "key": "Thjf+MnUp+giNmwZ7tBL15Q0O9GVi3Mp6L6h90bu5kMdtNzMYfCK/xn5LI10Ux4geyYH4ZMLK8BGIt+Eez88jIX/l1xnt3J/e0ynUkHffcjKSGthDvm9VgSSONAx1E/Mwnf1XCfLVEhRFnS73TTsmqKOYXYOTgQOgOfNkgwi/mUQU3zcUzceXac++JOJ5AfeVsOD81QOiARa+Xjgd0Sl4gdwINllw+8YuXQ1pxMvMGaGgRz0WncycLkGyU4nMydD+ZGa4lftiLJKcGdtAylbWIYk3jmMgqwNur5P9fiW9t6Nc1KfhW2K2rICR1+MylIMs8r+tvZfQvoqk912bXpoLg==",
                        "timestamp": 1753355316,
                        "file": "gdscz.yrl.c/[email protected]/68821434c1a9c.png",
                        "data_file": "gdscz.yrl.c/[email protected]/68821434c1a9c_data"
                    }
                ]
            },
            "status": 2,
            "created_at": "2025-07-24 11:06:28",
            "updated_at": "2025-07-24 11:06:28",
            "documentID": "",
            "documentType": "",
            "country": "ESP",
            "sendMail": true,
            "locale": "es",
            "stampType": null,
            "signatory": "",
            "formElements": [
                {
                    "uuid": "c9d2fe24-6a74-4eec-ab11-2434ac95701d",
                    "type": "signature",
                    "name": "John Doe",
                    "page": 1,
                    "x": 200,
                    "y": -16,
                    "w": 200,
                    "h": 150,
                    "oldW": 200,
                    "oldH": 150,
                    "label": "",
                    "dragCache": {
                        "x": 200,
                        "y": 16
                    },
                    "value": null,
                    "required": false,
                    "disabled": false,
                    "visible": true,
                    "signer": {
                        "contact_id": 551,
                        "name": "John",
                        "surname_1": "Doe",
                        "surname_2": "",
                        "email": "[email protected]",
                        "document_type": null,
                        "document": "",
                        "country_id": 199,
                        "user_id": 1182,
                        "active": 1,
                        "deleted_at": null,
                        "phone": "",
                        "locale": "es",
                        "created_at": "2025-01-31 08:16:58",
                        "updated_at": "2025-01-31 08:16:58",
                        "address": "",
                        "province": "",
                        "zip": "",
                        "nationality": "",
                        "custom_fields": [],
                        "send_methods": {
                            "email": true,
                            "sms": false,
                            "sms_options": []
                        },
                        "type": "receiver",
                        "color": [
                            "rgb(160,40,0)"
                        ],
                        "allow_comments": false,
                        "signer_mode": "signature"
                    },
                    "percentages": {
                        "x": 0.15748031496062992,
                        "y": -0.008908401601314982,
                        "w": 0.15748031496062992,
                        "h": 0.08351626501232795
                    },
                    "pdfDisplayerDocumentWidth": 1270,
                    "pdfDisplayerDocumentHeight": 1796.0573306033057
                }
            ],
            "address": "",
            "province": "",
            "zip": "",
            "nationality": "",
            "sign_access_key": "iDp5YUZXVUJrd29KWjNHTXhuSnUwMlh1OGpwUFdFN3hlQ3Bzb1Y0K3ppWURENHF6aWpGdWIxVHpEVnNiSUNsSlV5eGl3akxRdHBVU1lFOFM5ZlRWRkN6dVpTQnMvV2N5VEcwQzhveWNvVVFhODhlSlZaTFFCTkJocnYySFVqbElwa3VIZjU3YTV1L2hHZEN5K1dXRzF3PT0=",
            "allow_comments": false,
            "not_a_signer": false,
            "force_phone": true,
            "documentIdMatch": {
                "require_documentId": false,
                "match_documentId": false,
                "finished": false,
                "retries": 0
            },
            "send_methods": {
                "email": true,
                "sms": false,
                "app": false,
                "agent_app": false,
                "sms_options": {
                    "phone": null
                },
                "app_options": {
                    "device": null
                }
            },
            "kyc": {
                "kyc": null,
                "mode": "none",
                "with_selfie": true,
                "additional_documents": []
            },
            "notifications": {
                "sign": true,
                "signed": true,
                "signed_copy": true
            },
            "edit_signatures": false,
            "x_message_id": "l0tEFmF-TXK7wWNUlR6Zvw",
            "hash": "aedd8186b4ddbe913de352b1c8022091f8381aec2d77",
            "last-notification": "2025-07-24 11:06:28",
            "evidences": {
                "email_open": [
                    {
                        "event_id": "8937770bb9c12fb21490a3739aa95f875e6d924bb8ef_f7d321_",
                        "tecalis_cripted_key": "iDp5YUZXVUJrd29KWjNHTXhuSnUwMUN1dU5yVVdtaEJmbWxwMWw0U1lyNU5oZklwNk84M2pVTThwbnFuL2thY3JUZHJoZE9YSS9wSjhnT3NQeFNmYWY2WFdydjdBdDV5NHc1L3o1ZTB5RUNoN1B0SERLcld6c2hhZ2xUS2UxdHFyQThOS09xTWRhT25paEMwR0tWczJnPT0=",
                        "email": "[email protected]",
                        "event": "open",
                        "ip": "192.0.2.1",
                        "timestamp": 1753355190,
                        "useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246 Mozilla/5.0",
                        "evidence_file": "gdscz.yrl.c/evidence_8937770bb9c12fb21490a3739aa95f875e6d924bb8ef_f7d321__ehztf.yrl.c.pdf"
                    }
                ],
                "doc_open": [
                    {
                        "event_id": "94ngd64bb18b43dafeea87a4299ca149ffa3e2d7",
                        "timestamp": 1753355208,
                        "ip": "192.0.2.2",
                        "useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36",
                        "aditional": null,
                        "lat": null,
                        "lon": null,
                        "accuracy": null,
                        "custom_entries": [],
                        "interactionMode": null,
                        "evidence_file": "gdscz.yrl.c/evidence_94ngd64bb18b43dafeea87a4299ca149ffa3e2d7_ehztf.yrl.c.pdf"
                    },
                    {
                        "event_id": "95615863f9cff98f6688450c1712613984b0a7a5",
                        "timestamp": 1753355222,
                        "ip": "192.0.2.3",
                        "useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36",
                        "aditional": null,
                        "lat": null,
                        "lon": null,
                        "accuracy": null,
                        "custom_entries": [],
                        "interactionMode": null,
                        "evidence_file": "gdscz.yrl.c/evidence_95615863f9cff98f6688450c1712613984b0a7a5_ehztf.yrl.c.pdf",
                        "not_certified_event": true
                    }
                ],
                "doc_sign": [
                    {
                        "event_id": "d5e8c930adf0d6cf9b6d388abbaaacd1e2ef6618",
                        "timestamp": 1753355317,
                        "ip": "192.0.2.4",
                        "useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36",
                        "aditional": null,
                        "lat": "null",
                        "lon": "null",
                        "accuracy": "null",
                        "custom_entries": [],
                        "interactionMode": "pointer",
                        "evidence_file": "gdscz.yrl.c/evidence_d5e8c930adf0d6cf9b6d388abbaaacd1e2ef6618_ehztf.yrl.c.pdf"
                    }
                ]
            }
        }
    ],
    "is_api_operation": false
}