---
title: "API playground"
description: "Test Wazapin endpoints in your browser with your API key — no dashboard login required."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.wazapin.id/llms.txt
> Use this file to discover all available pages before exploring further.

# API playground

The playground lets you send real requests from the **API reference** tab. Paste your **API key** (`X-Api-Key`) — you do **not** need to log in to the Wazapin dashboard or use session cookies.

:::warning
**Login is not for integrators.** [Reference: login](/api/reference-auth-login) creates a **browser session** for the dashboard (`POST /v1/auth/login`). Server integrations should use [API keys](/api/authentication) only.
:::

## Try it

1. Open the [API reference](/api-reference) tab.
2. Pick an endpoint — start with [Send a message](/api-reference/messages/send-a-message) or **GET /v1/channels**.
3. In the **Auth** panel, paste your API key (`wzp_...`).
4. Fill the request body and click **Run**.

The playground sends requests through Mintlify's proxy with your `X-Api-Key` header — same as cURL from your server.

## Where the playground appears

- **OpenAPI pages** — every endpoint under API reference (from `docs.json`).
- **Custom reference pages** — pages with `api:` in frontmatter for narrative examples alongside the playground.

## Self-hosted docs (`docs.wazapin.id`)

If **Run** fails with a network error, your reverse proxy may be blocking Mintlify's proxy path. Allow:

```text
POST /_mintlify/api/request
```

## Prefer cURL or the SDK?

- [Quickstart](/getting-started/quickstart) — first message without the playground
- [TypeScript SDK](/sdk/typescript) — typed builders in code
- [Postman collection](/integrations/postman) — import and run offline

Source: https://docs.wazapin.id/api/playground-guide/index.mdx
