---
title: "Create validation for segment"
method: POST
path: "/{globalCompanyId}/segments/validate"
tags: ["Segments"]
---

# Create validation for segment

`POST /{globalCompanyId}/segments/validate`

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

## Path parameters

- `globalCompanyId` string, required

## Query parameters

- `rsid` string, required

## Headers

- `Authorization` string, required
- `x-api-key` 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

- **2025-08-07** `f13c80692287` — 1 warning
  - deleted the `header` request parameter `x-gw-ims-org-id`
- **2025-08-06** `f49e893a6c2b` — 1 breaking
  - added the new required `header` request parameter `x-gw-ims-org-id`
- **2022-05-10** `dcd4514630c4` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/adobe/apis/adobe-analytics-apis/changes/:globalCompanyId/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/b2e01ce0f30a/schema)
