---
title: "Create a segment"
method: POST
path: "/v1/donor_segments"
tags: ["Segments"]
---

# Create a segment

`POST /v1/donor_segments`

## Request body

- DonorSegment
  - `id` string, uuid
  - `name` string, required
  - `description` string, nullable
  - `entity_type` string
  - `filter_criteria` object
  - `donor_count` integer, nullable
  - `last_calculated_at` string, date-time, nullable
  - `created_at` string, date-time

## Response `201`

Created

---

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