# Playground

> Explore the server API in seven programming languages and try SDK flows in your browser. From the Lia developer docs: https://docs.lialabs.org/playground

Build a little. Try a little.

Choose an endpoint, change its request, and explore success and error responses. Switch the code to your preferred language without leaving the page.

The server API examples support seven programming languages. The Lia browser SDK itself is JavaScript.

## Server API

The simulator checks request bodies against the OpenAPI schema. Responses are illustrative examples, not calls to Lia. It does not verify sessions, transfer tokens, deliver purchases or send notifications. Use your app's test key on your own server for integration testing.

<div data-playground translate="no" class="playground"></div>

## SDK sandbox

Edit the JavaScript and run it here. The mock SDK demonstrates the flow and prints its results. It does not open a real Lia pay sheet, show a real ad, invite anyone or save to an account. Run your app inside Lia to test those native experiences.

<div data-sdk-sandbox translate="no" class="playground"></div>

## Take it to your server

Download the example for your language, set `LIA_KEY` on your server, and use your app's test data. Reuse the same `Idempotency-Key` only when retrying the same request. Give each new action a new key.

See [test and live modes](/concepts/test-and-live), [server verification](/guides/verify-on-your-server) and the [server API reference](/reference/server-api) for the full integration.
