---
title: "Initializes JS implementation"
method: POST
path: "/javascript/initialize"
tags: ["Javascript"]
---

# Initializes JS implementation

`POST /javascript/initialize`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

Sets up the JS implementation for this instance. Optionally copies from another instance by providing its instance key.

## Query parameters

- `instanceFrom` string

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
