---
title: "Create Membership"
method: POST
path: "/api/v1/memberships/"
tags: ["Memberships"]
---

# Create Membership

`POST /api/v1/memberships/`

## Request

- Base URL: `https://api.compteam.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.compteam.io/api/v1/memberships/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Request body

- MembershipCreate
  - `athlete_id` string, uuid, required
  - `plan_id` string, uuid, required
  - `payment_method` string
  - `started_at` string, nullable
  - `trial_ends_at` string, nullable
  - `notes` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/compteam/apis/c-team-api.md) · [All operations](https://skmtc.dev/compteam/apis/c-team-api/llms.txt) · [OpenAPI document](https://skmtc.dev/compteam/apis/c-team-api/revisions/4bd27c892655?raw)
