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

# POST Create Plan

> Create a new subscription plan (superadmin).

## Create plan

`POST /api/admin/plans`

Create a new subscription plan.

### Headers

**x-api-key** `string` *required*

Your API key

**x-api-secret** `string` *required*

Your API secret key

**x-channel-id** `string` *required*

WhatsApp channel ID

```bash cURL theme={null}
curl -X POST https://zeplo.ai/api/admin/plans \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-api-secret: YOUR_API_SECRET" \
  -H "x-channel-id: YOUR_CHANNEL_ID" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Enterprise",
    "price": 199.99,
    "currency": "USD",
    "interval": "monthly"
  }'
```

### Body parameters

**name** `string` *required*

Plan name.

**description** `string`

Plan description.

**price** `number` *required*

Price.

**currency** `string` *required*

Currency code (`USD`, `INR`, etc.).

**interval** `string` *required*

`monthly` or `yearly`.

**features** `object`

Feature limits (-1 for unlimited).

```json Response theme={null}
{
  "success": true,
  "data": {
    "id": 4,
    "name": "Enterprise",
    "price": 199.99,
    "currency": "USD",
    "interval": "monthly",
    "status": "active",
    "createdAt": "2026-01-15T12:00:00Z"
  }
}
```

> [!NOTE]
>
> Requires `superadmin` role. After creation, sync the plan to your payment gateway using `/api/admin/plans/:id/sync-gateway`.


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