> ## Documentation Index
> Fetch the complete documentation index at: https://cpaas.fireflo.au/llms.txt
> Use this file to discover all available pages before exploring further.

# API & playground

> Every endpoint, run in the panel as one of your own keys, on your own data, with the code to take away.

**API & playground** is in **Developer Tools**, the last entry in the side menu. It is
for Owners and Admins, on accounts whose plan includes the API.

![The playground with the endpoint list, a filled-in request, and the answer with its Body, Headers and Debug tabs.](https://mintcdn.com/fire-flo-omno/PE0OUbPWjBA9XF0k/images/shots/developers-playground-light.webp?fit=max\&auto=format\&n=PE0OUbPWjBA9XF0k\&q=85\&s=e9e9a577cc96163ec591cc984ba21a06)

API & playground

## Using it

**1. Choose the key to run as**

**Run as** lists your keys that are still in use. A request runs exactly as that key
would from your server: its scopes, and whether it is a test key. With no keys yet,
the playground offers to make one.

**2. Pick an endpoint**

The list on the left groups every endpoint, then each of your channels' own. The
middle shows what it does, its parameters, and the scope it needs — and warns when
the chosen key doesn't have it.

**3. Try it**

The path and body come filled in from your own account — a real contact, template
or message — so the first run works. **Sample from your account** switches to
another record; **Reset** puts the sample back. Add an `Idempotency-Key` and run
twice to see a replay.

**4. Run it**

With a live key, anything that reaches people asks first: *Send a real message to
+91…?* Removing something always asks.

**5. Take the code**

cURL, Python, Node.js or PHP, built from the same request. The key is read from the
`OMNI_API_KEY` environment variable — never written into the code.

## The answer, and Debug

The answer shows its status, how long it took and its request id, with three tabs:
**Body**, the answer itself; **Headers**, what came back with it; and **Debug**, the exact
request that was sent (the key shown by its start only) beside the answer's headers and
timing. A refusal shows its code and what to do about it above the body. In Debug, **Find in the request log** opens that one request in
**Developer Tools → Requests**, where runs from the playground carry a *Playground* badge.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.