Momofin
  • QUICKSTART
    • Getting Started
    • Uploading a document for e-Meterai stamping
  • Reference
    • API Reference
      • Auth
        • Generate access token
        • Get list of contacts
      • Documents
        • Upload document
        • Upload document with Base64 encoded data
        • Download document
        • Get list of sent documents
        • Get list of incoming documents
        • Get document detail
        • Get Document Status
        • Get signers of the document
        • Get original document
        • Placement Document
        • Process document
        • Delete document
        • Audit trail
        • Get speciment
        • Restamping meterai
        • Get client balance
Powered by GitBook
On this page
  1. Reference
  2. API Reference
  3. Documents

Get document detail

PreviousGet list of incoming documentsNextGet Document Status

Last updated 7 months ago

GET /v1/econtract/web_app/document/detail/:document_id

Fetches document detail for the given document ID

Detail Document

get
Path parameters
document_idstringRequiredExample: {{docId}}
Header parameters
x-access-tokenstringOptionalExample: {{momofingo_token}}
Responses
200
OK
application/json
get
GET /econtract/web_app/document/detail/{document_id} HTTP/1.1
Host: {{base_url}}v1
Accept: */*
200

OK

{
  "code": 200,
  "success": true,
  "data": {
    "id": 16502,
    "document_title": "Doc Sample restamp",
    "document_name": "Doc Sample-1728885978549-1gC7TJ4F5sLuvKPe5mZmad",
    "status": "completed",
    "expired": null,
    "is_expired": "0",
    "signing_status": "completed",
    "description": "Dokumen telah Selesai",
    "createAt": "2024-10-14T06:06:23.000Z",
    "is_parallel": false,
    "is_owner": true,
    "is_paid": true,
    "is_sign": false,
    "owner": {
      "user_id": "ab69d220-b697-11ee-bada-41a5d350d473",
      "email": "test@email.com",
      "name": "bowo test"
    },
    "signer": [
      {
        "name": "bowo test",
        "email": null,
        "status": false,
        "signing_status": false,
        "signed_at": null,
        "is_owner": true
      }
    ],
    "data_token": {
      "used": {
        "emet": 1,
        "base": 0,
        "peruri": 0
      },
      "success": {
        "emet": 1,
        "base": 0,
        "peruri": 0
      },
      "failed": {
        "emet": 0,
        "base": 0,
        "peruri": 0
      }
    },
    "info_restamping": {
      "button_restamping": "disable",
      "allowed_stamping": false,
      "color_background": "success"
    },
    "last_signed_at": null,
    "status_info": "completed",
    "active_download_button": true,
    "serial_number": [
      "572LOT7Q5H0H5LLU0000B9"
    ]
  }
}