---
title: "Validate a Segment"
method: POST
path: "/segments/validate"
tags: ["segments"]
---

# Validate a Segment

`POST /segments/validate`

Returns a segment validation for the segment contained in the post body of the report.

## Query parameters

- `rsid` string, required

## Request body

- string

## Response `200`

successful operation

- SegmentCompatibility
  - `valid` boolean
  - `message` string
  - `validator_version` string
  - `supported_products` string[]
  - `supported_schema` string[]
  - `supported_features` string[]

## Other responses

- `400` — Bad JSON input; request not formatted correctly
- `500` — Unexpected error;

## Changes

- **2022-05-10** `dcd4514630c4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/adobe/apis/adobe-analytics-apis/changes/segments/validate/post.md)

---

[API](https://skmtc.dev/adobe/apis/adobe-analytics-apis.md) · [All operations](https://skmtc.dev/adobe/apis/adobe-analytics-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adobe/adobe-analytics-apis/revisions/dcd4514630c4/schema)
