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

# Send a request with API Playground

> Interactive API playground for the WaaS 2.0 API, allowing developers to test endpoints and view responses.

<Tip>
  Try [Cobo WaaS Skill](/v2/guides/overview/cobo-waas-skill) in your AI coding assistant (Claude Code, Cursor, etc.). Describe your needs in natural language to auto-generate production-ready SDK code and debug faster 🚀
</Tip>

The API Playground is a web-based tool designed for developers looking to explore and experiment with the Cobo WaaS 2.0 API directly from the Developer Hub, all within the browser.

## Prerequisites

Before using the API Playground, make sure you have completed the following:

* Set up your Cobo Account and create the required API key and API secret. For instructions, see [Set up Cobo Accounts](https://manuals.cobo.com/en/accounts/sign-up) and [Generate an API key and an API secret](/v2/guides/overview/cobo-auth#generate-an-api-key-and-an-api-secret).
* Register the API key on Cobo Portal based on the environment that you use. For more details, refer to [Register the API key](/v2/guides/overview/cobo-auth#register-the-api-key) and [Environments](/v2/guides/overview/environments).

## Steps

1. Go to any API operation in the API Reference and click **Try it**.

   <img src="https://mintcdn.com/cobo-docs/cY8T3rD7Fx4uohw2/v2/images/api-reference/playground-try.png?fit=max&auto=format&n=cY8T3rD7Fx4uohw2&q=85&s=6a3ffbea747f965228bf47d411df4a4a" className="screenshot_full_screen" alt="API Playground try" width="2933" height="1439" data-path="v2/images/api-reference/playground-try.png" />

   The API Playground panel will appear, showing a request editor, sample codes for different programming languages, and a response viewer.

   <img src="https://mintcdn.com/cobo-docs/cY8T3rD7Fx4uohw2/v2/images/api-reference/playground.png?fit=max&auto=format&n=cY8T3rD7Fx4uohw2&q=85&s=c087ef539d65e3f9fcc3f832570bd14d" className="screenshot_full_screen" alt="API Playground panel" width="2922" height="1431" data-path="v2/images/api-reference/playground.png" />

2. Modify the request as follows:

   * In the **Authorization** section, enter your API secret into the `BIZ-API-KEY` field.
     <Note>For API requests sent via the API Playground, you only need to provide your API secret in the request headers. However, for actual API requests, you need to provide your API key, a nonce, and an API signature as request headers. For more details, see [Authentication](/v2/guides/overview/cobo-auth). </Note>
   * Set the path parameters, query parameters, and request body as needed.

3. Choose the API base URL that you want to send requests to:

   * Development environment: [https://api.dev.cobo.com/v2/](https://api.dev.cobo.com/v2/)
   * Production environment: [https://api.cobo.com/v2/](https://api.cobo.com/v2/)

   You can switch between development and production directly in the API Playground by clicking the arrow icon next to the base URL.

   <img src="https://mintcdn.com/cobo-docs/cY8T3rD7Fx4uohw2/v2/images/api-reference/playground-switch.png?fit=max&auto=format&n=cY8T3rD7Fx4uohw2&q=85&s=064fb5280010e9dba016da6cf922b2f6" className="screenshot_full_screen" alt="API Playground switch environment" width="2678" height="140" data-path="v2/images/api-reference/playground-switch.png" />

   <Note> For security reasons, it is strongly recommended to use the development environment for testing purposes. For more information about differences between the development and production environments, see [Environments](/v2/guides/overview/environments).</Note>

4. Click the **Send** button to submit the request.

Upon successful submission, you will find the response returned from the WaaS service in the response viewer.
