---
title: "POST /api/add-subscription"
method: POST
path: "/api/add-subscription"
tags: ["Subscription API"]
---

# POST /api/add-subscription

`POST /api/add-subscription`

add subscription

## Request body

- ObjectSubscription
  - `approveTime` string
  - `approver` string
  - `createdTime` string
  - `description` string
  - `displayName` string
  - `duration` integer
  - `endDate` string, datetime
  - `isEnabled` boolean
  - `name` string
  - `owner` string
  - `plan` string
  - `startDate` string, datetime
  - `state` string
  - `submitter` string
  - `user` string

## Response `200`

The Response object

---

[API](https://skmtc.net/casdoor/apis/casdoor-restful-api.md) · [All operations](https://skmtc.net/casdoor/apis/casdoor-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casdoor/casdoor-restful-api/versions/be9a5584b821/schema)
