# Zilfu — Subscription

1 operation. Schemas referenced below are documented at https://zilfu.app/docs/api/schemas.md.

## Servers

- `https://zilfu.app/api`

## Operations

### Get subscription details

- **Method:** `GET`
- **Path:** `/subscription`
- **Tags:** Subscription

Returns the user's current plan, account usage, plan catalog, and billing state.

#### Responses

##### Status: 200

###### Content-Type: application/json

- **`accounts_used` (required)**

  `integer`

- **`ends_at` (required)**

  `string`

- **`is_gifted` (required)**

  `boolean`

- **`max_connectable_accounts` (required)**

  `integer | null`

- **`monthly_post_limit` (required)**

  `integer | null`

- **`on_grace_period` (required)**

  `object`

- **`plan` (required)**

  `string`

- **`plans` (required)**

  `array`

  **Items:**

- **`posts_used_this_month` (required)**

  `integer`

- **`subscribed` (required)**

  `boolean`

**Example:**

```json
{
  "subscribed": true,
  "is_gifted": true,
  "plan": "",
  "plans": [],
  "on_grace_period": "",
  "ends_at": "",
  "accounts_used": 0,
  "max_connectable_accounts": null,
  "posts_used_this_month": 0,
  "monthly_post_limit": null
}
```

##### Status: 401 Unauthenticated

###### Content-Type: application/json

- **`message` (required)**

  `string` — Error overview.

**Example:**

```json
{
  "message": ""
}
```
