---
title: "Generate Web View URL"
method: POST
path: "/esign-partner/v2/submissions/generate-web-view-url"
---

# Generate Web View URL

`POST /esign-partner/v2/submissions/generate-web-view-url`

## Request

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

This API is used to generate a web view URL for signing or account verification.

## Headers

- `x-onekyc-token` string, required
- `x-esign-onboarding-partner` string, required
- `x-partner-session-id` string, required
- `x-submission-id` string, uuid, required: Unique identification of submission record

## Request body

- GenerateWebViewUrlRequest
  - `email` string, email, required: Email of signer

## Response `200`

Successfully initiated flow

- GenerateWebViewUrlResponse
  - `success` boolean
  - `data` object
    - `launchUrl` string: Web view URL for signing the document or activation link for certificate registration

## Other responses

- `400`: Bad Request - Invalid input or missing required parameters
- `401`: Unauthorized - Invalid or missing authentication token
- `403`: Invalid onboarding partner
- `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)
