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

# Zonely API

> Use GET and POST operations available with your API key on the panel.

Total on this reference **507 API operation** Available: **137 GET**, **370 POST**.

## Post · Create a product

```bash theme={"theme":"css-variables"}
curl --request POST \
  "https://example.com/Files/Controllers/ControllersAll.php?main=Products&container=ProductsAddController" \
  --header "X-API-Key: $ZONELY_API_KEY" \
  --form "name=Starter Package" \
  --form "categoryIDs=1" \
  --form "details=Package description" \
  --form "price=149" \
  --form "image=@product.png"
```

`example.com` Type your site address instead. `ZONELY_API_KEY`The API switch from the management panel. Product areas [Create products](https://docs.zonely.gen.tr/en/developers/operations/create-products.md) place.

## GET · List Products

```bash theme={"theme":"css-variables"}
curl "https://example.com/Files/Controllers/ControllersAll.php?main=Products&container=ProductsListController&start=0&length=10" \
  --header "X-API-Key: $ZONELY_API_KEY"
```

## Send request

Your API key on the panel is valid in the existing trading addresses. Request header `X-API-Key` add; at the address `main` and `container` Get the values from the reference. Send the body in JSON or form format that it shows.

[API Switch](https://docs.zonely.gen.tr/en/developers/api-switch.md) · [All transactions](https://docs.zonely.gen.tr/en/developers/api-operations.md) · [Request samples](https://docs.zonely.gen.tr/en/developers/request-samples.md)


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