---
title: "Snapshot a Segment"
method: POST
path: "/3.0/segments/{segment_id}/snapshots"
tags: ["segments", "snapshots"]
---

# Snapshot a Segment

`POST /3.0/segments/{segment_id}/snapshots`

## Request

- Base URL: `https://api.mailchimp.com`
- URL: `https://api.mailchimp.com/3.0/segments/{segment_id}/snapshots`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://login.mailchimp.com/oauth2/authorize`
    - Token URL: `https://login.mailchimp.com/oauth2/token`
- TypeScript: <https://skmtc.dev/mailchimp/apis/mailchimp-api/docs/3.0/segments/:segment_id/snapshots/post.ts> (a function with typed inputs; its response is checked against the schema)

Start a snapshot of the members of a segment. The API makes the snapshot in the background. Use Get Segment Snapshot to see its status. To snapshot an advanced segment, the account's plan must include advanced segmentation. If it does not, the API returns a 403 error. Other types of segment do not need advanced segmentation.

## Path parameters

- `segment_id` string, required

## Response `200`

The snapshot request that the API accepted.

- object: A segment snapshot.
  - `id` string: The unique ID of the snapshot.
  - `status` 'pending' | 'running' | 'completed' | 'failed' | 'canceled': The status of the snapshot.

## Other responses

- `202`: The API accepted the snapshot request.
- `default`: An error generated by the Mailchimp API.

---

[API](https://skmtc.dev/mailchimp/apis/mailchimp-api.md) - [All operations](https://skmtc.dev/mailchimp/apis/mailchimp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailchimp/apis/mailchimp-api/revisions/53bf4b156855?raw)
