---
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`

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, uuid, 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.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)
