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 list of sent documents

PreviousDownload documentNextGet list of incoming documents

Last updated 7 months ago

GET /v1/econtract/web_app/document/out

Fetches the list of sent documents

List Document Outbound

get
Query parameters
pageintegerOptionalExample: 1
limitintegerOptionalExample: 20
typestringOptionalExample: out
Header parameters
x-access-tokenstringOptionalExample: {{momofingo_token}}
Responses
200
OK
application/json
get
GET /econtract/web_app/document/out HTTP/1.1
Host: {{base_url}}v1
Accept: */*
200

OK

{
  "code": 200,
  "success": true,
  "data": {
    "documents": [
      {
        "id": 16502,
        "document_name": "Doc Sample-1728885978549-1gC7TJ4F5sLuvKPe5mZmad",
        "document_title": "Doc Sample restamp",
        "created_at": "14 Okt 24 - 13:06",
        "status": "completed",
        "status_info": "Selesai",
        "button_text": "Lihat",
        "data_signer": [
          {
            "user_id": "ab69d220-b697-11ee-bada-41a5d350d473",
            "name": "bowo test",
            "email": null,
            "avatar": "https://avatars.dicebear.com/api/initials/dev bowo.svg",
            "is_signing": false,
            "signer_role": "owner",
            "signer_number": 1
          }
        ],
        "expired": null,
        "is_expired": "0",
        "owner": {
          "owner": "owner",
          "name": "bowo test",
          "created_at": "2024-10-14T06:06:23.000Z"
        }
      }
    ],
    "pagination": {
      "total_data": 1,
      "total_page": 1,
      "total_display": 1,
      "first_page": false,
      "last_page": false,
      "prev": 0,
      "current": 1,
      "next": 0,
      "detail": [
        1,
        2,
        3,
        4
      ],
      "filter": {
        "periode": [
          {
            "label": "Semua",
            "value": "all"
          }
        ],
        "status": [
          {
            "label": "Sedang Diproses",
            "value": "processing"
          }
        ]
      }
    }
  }
}