---
title: "Preview Config"
method: GET
path: "/api/experience/preview/{accountid}/{id}/config.js"
tags: ["Experience"]
---

# Preview Config

`GET /api/experience/preview/{accountid}/{id}/config.js`

## Request

- Base URL: `https://api.lytics.io`
- URL: `https://api.lytics.io/api/experience/preview/{accountid}/{id}/config.js`
- Auth: API key in header `Authorization`

Renders a JavaScript file containing a single Experiences Pathfora configuration for previewing a web personalize Experience.

## Path parameters

- `accountid` string, required
- `id` string, required

## Query parameters

- `account_id` string

## Response `200`

OK

---

[API](https://skmtc.dev/lytics/apis/v1-lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/v1-lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/v1-lytics-api/revisions/339fd1d88486?raw)
