---
title: "Create a new program"
method: POST
path: "/programs"
tags: ["Programs"]
---

# Create a new program

`POST /programs`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/programs`
- Auth: HTTP bearer

Create a new program for a partner

## Request body

- CreateProgramRequest
  - `partner_id` string, uuid, required
  - `name` string, required
  - `description` string

## Response `201`

Program created successfully

- object
  - `success` boolean
  - `data` Program
    - `id` string, uuid
    - `partner_id` string, uuid
    - `name` string
    - `description` string
    - `is_active` boolean
    - `created_at` string, date-time

## Other responses

- `401`: Unauthorized
- `422`: Validation error

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
