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

Featureflip User Segments API

User segments within a resolved organization + project — mirrorsEnvironmentsController's resolve-then-dispatch shape one level deeper.`{project}` is resolved key-or-guid, scoped to the resolved org (with the service-tokenproject allowlist forwarded), via ResolveProjectIdAsyncfor every action. `{segment}` (get/update/delete) is then resolved key-or-guid, scoped tothe resolved project, via ResolveSegmentIdAsync.Dispatched commands/queries always use the resolved GUIDs, never the raw route strings. Writes(create/update/delete) require at least Member(RequireRole); a Viewer attempting one gets a 403`forbidden` envelope.There is no `GetUserSegmentQuery` — Get resolves `{segment}` thendispatches ListUserSegmentsQuery and finds the match in-memory, throwingNotFoundException if absent. This keeps the task scoped to the public layer withno new Application handler: the resolver has already validated the id exists within theproject, and a project's segment set is bounded (unlike flags/environments' own list, thisnever needs true server-side pagination for the lookup).Operator is a bare string on the wire; write actionsparse it to OperatorType via TryParse``1(ReadOnlySpan{Char},Boolean,``0@)(case-insensitive). An unrecognized value throws the customValidationException BEFORE any command is dispatched — mapped to a 400`validation_failed` envelope by PublicApiExceptionFilterAttribute, same asevery other handler-thrown validation failure on this surface.

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

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

This API exposes 5 operations across 2 paths, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version v1.

Requests are made against a single base URL, https://api.featureflip.io.

5 operations 2 paths 8 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1
Base URL
https://api.featureflip.io
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Featureflip User Segments API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (Bearer). By default, every request must be authenticated.

  • Bearer — JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token in the text input below.

Paths & Operations 5

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

User Segments 5

User segments within a resolved organization + project — mirrors EnvironmentsController's resolve-then-dispatch shape one level deeper.

POST
/api/v1/orgs/{org}/projects/{project}/segments
Creates a user segment in the resolved project
postApiV1OrgsByOrgProjectsByProjectSegments 2 params body → 201400403404401429
GET
/api/v1/orgs/{org}/projects/{project}/segments
Lists user segments in the resolved project, cursor-paginated
getApiV1OrgsByOrgProjectsByProjectSegments 4 params → 200404401429
GET
/api/v1/orgs/{org}/projects/{project}/segments/{segment}
Gets a user segment in the resolved project by key or id
getApiV1OrgsByOrgProjectsByProjectSegmentsBySegment 3 params → 200404401429
PUT
/api/v1/orgs/{org}/projects/{project}/segments/{segment}
Updates a segment's name/description/conditions
putApiV1OrgsByOrgProjectsByProjectSegmentsBySegment 3 params body → 204400403404401429
DELETE
/api/v1/orgs/{org}/projects/{project}/segments/{segment}
Deletes a user segment
deleteApiV1OrgsByOrgProjectsByProjectSegmentsBySegment 3 params → 204403404401429

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are PublicSegmentResponse (8 properties), PublicApiErrorEnvelope (7 properties), PublicCreateSegmentRequest (4 properties), PublicSegmentConditionDto (4 properties). Each schema is shown below with its type and property counts.

PublicApiErrorEnvelope
object
The frozen public-API error contract. error codes are stable snakecase strings. Wire keys are frozen snakecase too (error, message, docsurl, fields, retryafter…
7 properties
PublicUpdateSegmentRequest
object
Request body for PUT /api/v1/orgs/{org}/projects/{project}/segments/{segment}. The segment's key is immutable via this endpoint (mirrors UpdateUserSegmentComma…
3 properties
PublicSegmentConditionDto
object
A single targeting condition on a segment, used both as input (create/update) and output (Conditions). Operator is a bare string on both sides of the wire — on…
4 properties
PublicCreateSegmentRequest
object
Request body for POST /api/v1/orgs/{org}/projects/{project}/segments. Named distinctly from the dashboard's own CreateUserSegmentRequest — see PublicCreateEnvi…
4 properties
NextAction
object
2 properties
PublicSegmentResponsePagedResult
object
A page of results plus an opaque cursor for the next page, or null when this is the last page. Wire keys are frozen: items (already lowercase under the camelCa…
3 properties
PublicSegmentResponse
object
Public representation of a user segment, returned by GET .../segments, GET .../segments/{segment}, and the body of a successful create.
8 properties
ActionCapability
object
One entry in a resource's actions block: may the caller perform it, and if not, why.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

featureflip-user-segments-api-openapi.yml Raw ↑

Other APIs Featureflip publishes across the network.

MCP Server (local)
Featureflip Client SDK API
Featureflip Environments API
Featureflip Feature Flags API
Featureflip Me API
Featureflip Organizations API
Featureflip Projects API
Featureflip SDK Keys API
Featureflip Server SDK API
Where this information came from

This is an independent, third-party profile of Featureflip User 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.