---
title: "On-Demand Data Fetch"
method: GET
path: "/esign-partner/v1/submissions"
tags: ["Submissions"]
---

# On-Demand Data Fetch

`GET /esign-partner/v1/submissions`

Get all details and KYC status about current submission by the user.

## Headers

- `x-onekyc-token` string, required
- `x-partner-user-id` string, required
- `x-partner-user-id-type` string, required
- `x-partner-session-id` string, uuid, required

## Response `200`

Successfully retrieved submission data

- SubmissionResponse
  - `success` boolean
  - `data` SubmissionData
    - `submissionId` string, uuid — Unique identification of submission record
    - `flow` string — Identification of submission type
    - `userId` string — User ID of the current session
    - `userIdType` string — Detailed name of the User ID
    - `partnerSessionId` string — Session ID used as correlation ID
    - `status` 'COMPLETED' | 'IN_PROGRESS' | 'PARTIALLY_COMPLETED' | 'ERROR' — Status of the submission
    - `result` 'VALID' | 'INVALID' | 'REJECTED' — Result of the document verification
    - `processedAt` string, date-time — Timestamp when the submission was processed
    - `reasonCode` 'FRAUD_REJECT' | 'NOT_EKTP' | 'DUKCAPIL_REJECTED' | 'AETHER_VERIFICATION_FAILED' | 'LIVENESS_CHECK_FAILED' | 'EMAIL_HAS_BEEN_USED' | 'PHONE_HAS_BEEN_USED' | 'SYSTEM_ERROR' — Code indicating the reason of rejection
    - `submissionDetails` SubmissionDetails
      - `ktpData` KtpData — Extracted values from the submitted eKTP
        - `nik` string — ID number (NIK) on the eKTP
        - `name` string — Name of the person
        - `region` string — Region of the person's residence (Place of Birth)
        - `dateOfBirth` string — Date of birth (DD-MM-YYYY)
        - `bloodType` string — Blood type of the person
        - `religion` string — Religion of the person
        - `province` string — Province of person's residence
        - `city` string — City of person's residence
        - `address` string — Address of the person's residence
        - `district` string — District of the person's residence
        - `town` string — Town of the person's residence
        - `gender` 'male' | 'female' — Gender of the person
        - `rt` string — RT of the person's residence
        - `rw` string — RW of the person's residence
        - `occupation` string — Occupation of the person
        - `validUntil` string — Validity period of eKTP
        - `citizenship` string — Citizenship (WNI for Indonesia)
        - `maritalStatus` string — Marital status of the person
        - `issuanceDate` string — Issue date of the eKTP
      - `verificationResult` VerificationResult — Verification results
        - `nik` 'PASS' | 'FAIL' — NIK verification status
        - `name` 'PASS' | 'FAIL' — Name verification status
        - `dateOfBirth` 'PASS' | 'FAIL' — Date of birth verification status
        - `selfie` 'PASS' | 'FAIL' — User selfie verification status
      - `imageUrls` ImageUrls — URLs to uploaded document images
        - `KTP` string, uri — URL to KTP image
        - `SELFIE` string, uri — URL to selfie image
        - `ADDITIONAL_SELFIE` string, uri — URL to additional selfie image
      - `certificateRegistration` CertificateRegistrationResult — Certificate Registration results
        - `eligibleToActivate` boolean
        - `shouldSkipActivation` boolean
        - `onboardingCode` 'NEW_USER'

## Other responses

- `400` — Request headers missing or invalid
- `401` — Invalid credentials
- `404` — User or submission not found
- `500` — Internal server error

---

[API](https://skmtc.net/midtrans/apis/snap-api.md) · [All operations](https://skmtc.net/midtrans/apis/snap-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/midtrans/snap-api/versions/67e029cf926a/schema)
