---
title: "Create Subscription"
method: POST
path: "/api/v3/admin/subscriptions/create-custom-subscription"
tags: ["admin", "subscriptions"]
---

# Create Subscription

`POST /api/v3/admin/subscriptions/create-custom-subscription`

## Request

- Base URL: `https://api.endless.health` (the document declares no server; this is the origin it was published from)
- URL: `https://api.endless.health/api/v3/admin/subscriptions/create-custom-subscription`
- Auth: none declared

## Request body

- SubscriptionCreationRequestSchema
  - `user` CustomSubscriptionUserSchema, required
    - `user_id` integer, nullable
    - `first_name` string, required
    - `last_name` string, required
    - `email` string, required
    - `phone_number` integer, required
    - `street_address` string, required
    - `street_address_2` string, nullable
    - `city` string, required
    - `state` 'AL' | 'AK' | 'AZ' | 'AR' | 'CA' | 'CO' | 'CT' | 'DC' | 'DE' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY', required
    - `zip_code` string, required
  - `site_id` integer, required
  - `organization_id` integer, required
  - `subscription_details` CustomSubscriptionDetailsSchema, required
    - `customer_id` string, required
    - `subscription_id` string, required
    - `price_id` string, required
    - `status` string, required
    - `type` 'HEALTH_COACHING', required
    - `provider` 'SQUARE' | 'STRIPE', required
    - `amount_paid` number, required
    - `current_period_start` string, date-time, nullable
    - `current_period_end` string, date-time, nullable
  - `send_initial_kit_order` boolean
  - `kit_details` SubscriptionKitDetailsSchema: Test panel and sample / collection options for the kit order created after subscription.
    - `test_panel_id` integer, required
    - `sample_type` 'SERUM_SEPARATOR' | 'SERUM_SEPARATOR_SERUM' | 'SERUM_SEPARATOR_BLOOD' | 'HEPARIN_CAPILLARY_BLOOD' | 'HEPARIN_CAPILLARY_PLASMA' | 'HEPARIN_VENOUS_BLOOD' | 'HEPARIN_VENOUS_PLASMA' | 'EDTA_CAPILLARY_BLOOD' | 'EDTA_CAPILLARY_PLASMA' | 'EDTA_VENOUS_BLOOD' | 'EDTA_VENOUS_PLASMA' | 'UNKNOWN'
    - `sample_collection_method` 'ADX_CARD' | 'EH_CASSETTE_V1' | 'REDDROP' | 'TASSO' | 'VACUTAINER'

## Response `200`

Successful Response

- unknown

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-04** `9046a1eb2d0c`: 1 info
  - added the new `TASSO` enum value to the request property `kit_details/anyOf[subschema #1: SubscriptionKitDetailsSchema]/sample_collection_method`

[Operation history](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/changes/api/v3/admin/subscriptions/create-custom-subscription/post.md)

---

[API](https://skmtc.dev/endless/apis/eh-core-v3-api-prod.md) - [All operations](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/revisions/9046a1eb2d0c?raw)
