---
title: "Get Presigned URLs V2"
method: GET
path: "/esign-partner/v2/submissions/urls"
---

# Get Presigned URLs V2

`GET /esign-partner/v2/submissions/urls`

## Request

- Base URL: `https://onekyc.ky.id.sandbox.gopayapi.com`
- URL: `https://onekyc.ky.id.sandbox.gopayapi.com/esign-partner/v2/submissions/urls`
- Auth: none declared. Required headers: `x-onekyc-token`, `x-esign-onboarding-partner`, `x-partner-session-id`

Get presigned URLs for you to upload required documents based on the submissionType.
After successful uploads, call the Confirm Upload API to start processing.

## Query parameters

- `submissionType` 'DOCUMENT_SIGNING_WITH_LLC', required

## Headers

- `x-onekyc-token` string, required
- `x-esign-onboarding-partner` string, required
- `x-partner-session-id` string, required

## Response `200`

Successful presigned URL generation

- PresignedUrlsSuccessResponse
  - `success` boolean
  - `data` PresignedUrlsData
    - `submissionId` string, uuid: Unique identification of submission record
    - `status` string: Submission status
    - `documents` DocumentUrls
      - `KTP` DocumentUrlInfo
        - `documentUrl` string, uri: Presigned URL where the document must be uploaded
        - `documentReference` string: Unique reference for the document within the system
        - `expiryInSeconds` string: Time in seconds after which the documentUrl will expire
      - `SELFIE` DocumentUrlInfo
        - `documentUrl` string, uri: Presigned URL where the document must be uploaded
        - `documentReference` string: Unique reference for the document within the system
        - `expiryInSeconds` string: Time in seconds after which the documentUrl will expire

## Other responses

- `400`: Bad Request - Invalid input or missing required parameters
- `401`: Unauthorized - Invalid or missing authentication token
- `500`: Internal Server Error - An unexpected error occurred on the server

---

[API](https://skmtc.dev/midtrans/apis/esign-apis.md) - [All operations](https://skmtc.dev/midtrans/apis/esign-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/midtrans/apis/esign-apis/revisions/46d7a61df8a0?raw)
