# Preview registration request HTML `POST /api/v1/presubscriptions/{id}/preview` Renders the registration request as HTML in a JSON response. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Presubscriptions → Write**. ## Headers - `X-Sport-Id` (integer, required) — The sport ID from [List sports](/api/sports/list.md). Use the sport the record belongs to. ## Path parameters - `id` (integer, required) — ID of the registration request. ## Body parameters - `template_id` (integer) — Template override. Send as a URL-encoded form field. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request POST \ --url "https://api.asdincloud.com/api/v1/presubscriptions/${ID:?Set ID}/preview" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" \ --data-urlencode "template_id=29" ``` ## Response **200 OK** Returns the rendered document in `html`. Example with fictional data and selected fields. ```json { "status": "success", "html": "