How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Unleash Segments API

Create, update, delete, and manage [segments](https://docs.getunleash.io/concepts/segments).

Unleash Segments API is one of 36 APIs that Unleash publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Segments. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 8 operations across 5 paths, and defines 6 schemas. It is described by OpenAPI 3.0.3, at version 7.4.1.

Requests are made against a single base URL, https://app.unleash-instance.example.com.

8 operations 5 paths 6 schemas 1 DELETE4 GET2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
7.4.1
Base URL
https://app.unleash-instance.example.com
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Unleash Segments API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiKey). It accepts HTTP bearer tokens (bearerToken). By default, every request must be authenticated.

  • apiKey — API key needed to access this API
  • bearerToken — API key needed to access this API, in Bearer token format

Paths & Operations 8

Across 5 paths, the API surfaces 8 operations — 1 DELETE, 4 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Segments 8

Create, update, delete, and manage [segments](https://docs.getunleash.io/concepts/segments).

POST
/api/admin/segments/validate
Validates If a Segment Name Exists
validateSegment body → 204400401409415
GET
/api/admin/segments/strategies/{strategyId}
Get Strategy Segments
getSegmentsByStrategyId 1 param → 200
GET
/api/admin/segments/{id}/strategies
Get Strategies That Reference Segment
getStrategiesBySegmentId 1 param → 200
DELETE
/api/admin/segments/{id}
Deletes a Segment by ID
removeSegment 1 param → 204401403409
PUT
/api/admin/segments/{id}
Update Segment by ID
updateSegment 1 param body → 204400401403409415
GET
/api/admin/segments/{id}
Get a Segment
getSegment 1 param → 200404
POST
/api/admin/segments
Create a New Segment
createSegment body → 201400401403409415
GET
/api/admin/segments
Get All Segments
getSegments → 200

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are adminSegmentSchema (9 properties), constraintSchema (6 properties), upsertSegmentSchema (4 properties), segmentStrategiesSchema (2 properties). Each schema is shown below with its type and property counts.

constraintSchema
object
A strategy constraint. For more information, refer to [the strategy constraint reference documentation](https://docs.getunleash.io/concepts/activation-strategi…
6 properties 2 required
upsertSegmentSchema
object
Data used to create or update a segment
4 properties 2 required
nameSchema
object
An object with a name
1 property 1 required
segmentsSchema
object
Data containing a list of [segments](https://docs.getunleash.io/concepts/segments)
1 property
segmentStrategiesSchema
object
A collection of strategies belonging to a specified segment.
2 properties 1 required
adminSegmentSchema
object
A description of a [segment](https://docs.getunleash.io/concepts/segments)
9 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

unleash-segments-api-openapi.yml Raw ↑

Other APIs Unleash publishes across the network.

Unleash Client API
Unleash Addons API
Unleash Admin UI API
Unleash API tokens API
Unleash Archive API
Unleash Auth API
Unleash Banners API
Unleash Change Requests API
Unleash Context API
Unleash Dependencies API
Unleash Environments API
Unleash Events API
Where this information came from

This is an independent, third-party profile of Unleash Segments API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.